Browse code
Try to build statically...
Ed Langley authored on 03/11/2018 19:31:01
Showing 3 changed files
Showing 3 changed files
... | ... |
@@ -3,14 +3,17 @@ env: |
3 | 3 |
matrix: |
4 | 4 |
- LISP=sbcl |
5 | 5 |
install: |
6 |
-- curl -L https://github.com/luismbo/cl-travis/raw/master/install.sh | sh |
|
6 |
+- pushd ~ && curl -L https://srv2.elangley.org/~edwlan/sbcl-static.tgz | tar zx && popd |
|
7 |
+- git clone --depth=1 https://gitlab.com/fiddlerwoaroof/osicat.git ~/lisp/osicat.git |
|
8 |
+- git clone --depth=1 https://gitlab.com/fiddlerwoaroof/cffi.git ~/lisp/cffi.git |
|
9 |
+ |
|
7 | 10 |
- git clone --depth=1 https://github.com/fiddlerwoaroof/daydreamer.git ~/lisp/daydreamer/ |
8 | 11 |
- git clone --depth=1 https://github.com/fiddlerwoaroof/fwoar.lisputils.git ~/lisp/fwoar.lisputils/ |
9 | 12 |
- git clone --depth=1 https://github.com/fiddlerwoaroof/data-lens.git ~/lisp/data-lens/ |
10 | 13 |
- git clone --depth=1 https://github.com/pokepay/aws-sdk-lisp.git ~/lisp/aws-sdk-lisp |
11 | 14 |
&& pushd ~/lisp/aws-sdk-lisp && git checkout 6d1f66e && popd |
12 | 15 |
script: |
13 |
-- cd ~/lisp/daydreamer/ && cl -e '(load "~/lisp/daydreamer/build.lisp")' |
|
16 |
+- cd ~/lisp/daydreamer/ && cl -l ~/lisp/sbcl/quicklisp/setup.lisp -e '(load "~/lisp/daydreamer/build.lisp")' |
|
14 | 17 |
- cd ~/lisp/daydreamer/ && ./daydreamer --self-test |
15 | 18 |
deploy: |
16 | 19 |
provider: releases |
... | ... |
@@ -14,24 +14,28 @@ |
14 | 14 |
,@x)) |
15 | 15 |
body))) |
16 | 16 |
|
17 |
- |
|
17 |
+;; #.(progn |
|
18 |
+;; (load "~/quicklisp/setup.lisp") |
|
19 |
+;; nil) |
|
18 | 20 |
|
19 | 21 |
(stepwise |
20 |
- ((defun tr (v) |
|
21 |
- (prog1 v |
|
22 |
- (format t "~&tracing: ~s~%" v)))) |
|
23 |
- |
|
24 | 22 |
((defun load-compile (pn) |
25 | 23 |
(load (compile-file pn)))) |
26 | 24 |
|
25 |
+ ((ql:quickload :cffi-grovel)) |
|
27 | 26 |
((princ |
28 | 27 |
(mapcar 'load-compile |
29 |
- (directory (merge-pathnames "*.asd" |
|
30 |
- *load-pathname*)))) |
|
28 |
+ (remove #\. |
|
29 |
+ (directory (merge-pathnames "*.asd" |
|
30 |
+ *load-pathname*)) |
|
31 |
+ :key 'pathname-name |
|
32 |
+ :test 'alexandria:starts-with))) |
|
31 | 33 |
(terpri)) |
32 | 34 |
|
33 |
- ((ql:quickload :daydreamer/release)) |
|
35 |
+ ((ql:quickload :daydreamer)) |
|
34 | 36 |
|
35 |
- ((asdf:operate :static-program-op :daydreamer/release)) |
|
37 |
+ ((asdf:operate :static-program-op :daydreamer)) |
|
36 | 38 |
#+nil |
37 |
- ((asdf/driver:symbol-call :daydreamer.cli :dump))) |
|
39 |
+ ((asdf/driver:symbol-call :daydreamer.cli :dump)) |
|
40 |
+ |
|
41 |
+ (sb-ext:quit)) |
... | ... |
@@ -5,31 +5,36 @@ |
5 | 5 |
(sb-posix:setenv "CC" "clang" 1) |
6 | 6 |
|
7 | 7 |
(defsystem :daydreamer |
8 |
- :description "" |
|
9 |
- :author "Ed L <gh@elangley.org>" |
|
10 |
- :license "MIT" |
|
11 |
- :depends-on (#:alexandria |
|
12 |
- #:uiop |
|
13 |
- #:serapeum |
|
14 |
- #:fwoar.lisputils |
|
15 |
- #:net.didierverna.clon |
|
16 |
- #:cl-base64 |
|
17 |
- #:local-time |
|
18 |
- #:local-time-duration |
|
19 |
- #:aws-sdk/services/cloudformation |
|
20 |
- #:aws-sdk/services/monitoring |
|
21 |
- #:aws-sdk/services/elasticmapreduce |
|
22 |
- #:should-test |
|
23 |
- #:yason |
|
24 |
- #:hunchentoot |
|
25 |
- #:data-lens) |
|
26 |
- :serial t |
|
27 |
- :components ((:file "aws-result") |
|
28 |
- (:file "main") |
|
29 |
- (:file "cli"))) |
|
8 |
+ :description "" |
|
9 |
+ :author "Ed L <gh@elangley.org>" |
|
10 |
+ :license "MIT" |
|
11 |
+ :defsystem-depends-on (#:cffi-grovel) |
|
12 |
+ :depends-on (#:alexandria |
|
13 |
+ #:uiop |
|
14 |
+ #:serapeum |
|
15 |
+ #:fwoar.lisputils |
|
16 |
+ #:net.didierverna.clon |
|
17 |
+ #:cl-base64 |
|
18 |
+ #:local-time |
|
19 |
+ #:osicat |
|
20 |
+ #:local-time-duration |
|
21 |
+ #:aws-sdk/services/cloudformation |
|
22 |
+ #:aws-sdk/services/monitoring |
|
23 |
+ #:aws-sdk/services/elasticmapreduce |
|
24 |
+ #:should-test |
|
25 |
+ #:yason |
|
26 |
+ #:hunchentoot |
|
27 |
+ #:data-lens |
|
28 |
+ #:cffi) |
|
29 |
+ :serial t |
|
30 |
+ :components ((:file "aws-result") |
|
31 |
+ (:file "main") |
|
32 |
+ (:file "cli")) |
|
30 | 33 |
|
31 |
-(defsystem :daydreamer/release |
|
32 |
- :entry-point "daydreamer.cli::main" |
|
33 |
- :output-files (program-op (o c) (list "daydreamer")) |
|
34 |
- :depends-on (:cffi |
|
35 |
- :daydreamer)) |
|
34 |
+ :entry-point "daydreamer.cli::main" |
|
35 |
+ :output-files (cffi-toolchain:static-program-op (o c) |
|
36 |
+ (format t "~&*dpd* ~s~%%" (merge-pathnames "daydreamer" |
|
37 |
+ *default-pathname-defaults*)) |
|
38 |
+ (list |
|
39 |
+ (merge-pathnames "daydreamer" |
|
40 |
+ *default-pathname-defaults*)))) |