summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scsh-process.setup11
-rw-r--r--tests/run.scm4
2 files changed, 12 insertions, 3 deletions
diff --git a/scsh-process.setup b/scsh-process.setup
index 6347af7..7d54201 100644
--- a/scsh-process.setup
+++ b/scsh-process.setup
@@ -1,2 +1,11 @@
;; -*- Scheme -*-
-(standard-extension 'scsh-process "0.2")
+
+;; Can't use standard-extension for now; 4.8.0's standard-extension uses -O3
+;; which implies -specialize. This generates code that causes a segfault.
+(compile -s -O2 -d1 scsh-process.scm -j scsh-process)
+(compile -s -O2 -d0 scsh-process.import.scm)
+
+(install-extension
+ 'scsh-process
+ '("scsh-process.so" "scsh-process.import.so")
+ '((version "0.2.1")))
diff --git a/tests/run.scm b/tests/run.scm
index c4deb88..56a823e 100644
--- a/tests/run.scm
+++ b/tests/run.scm
@@ -1,5 +1,5 @@
-(include "../scsh-process.scm")
-(import scsh-process)
+#;(include "../scsh-process.scm")
+(use scsh-process)
(use test posix srfi-13)