Skip to content

Commit

Permalink
try to use static libzstd attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
snmsts committed Sep 23, 2024
1 parent 235d0a2 commit 4fb0913
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/solaris.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@ jobs:
env
pkg install build-essential git
run: |
sudo bash -c 'cd zstd/lib;gmake PREFIX=/usr CFLAGS="-fPIC -m32" install-includes install-static clean'
sudo bash -c 'cd zstd/lib;gmake PREFIX=/usr LIBDIR=/usr/lib/amd64 CFLAGS="-fPIC" install-static'
sudo bash -c 'cd zstd/lib;gmake PREFIX=/usr CFLAGS="-fPIC -m32" libzstd.a-release;cp libzstd.a /usr/lib;cp *.h /usr/include'
sudo bash -c 'cd zstd/lib;gmake PREFIX=/usr LIBDIR=/usr/lib/amd64 CFLAGS="-fPIC" clean libzstd.a-release;cp libzstd.a /usr/lib/amd64'
git clone https://github.com/roswell/roswell && bash -c "cd roswell;./bootstrap;./configure --prefix=/usr;gmake;sudo gmake install"
ros install sbcl-bin/2.3.0
ros run -- --version
mkdir /tmp/x86;
sudo mv /usr/lib/libzstd.so* /tmp/x86
mkdir /tmp/amd64
sudo mv /usr/lib/amd64/libzstd.so* /tmp/amd64
gmake latest-version compile archive
LISP_IMPL='$$HOME/.roswell/impls/x86-64/solaris/sbcl-bin/2.3.0/bin/sbcl' gmake latest-version compile archive
sudo mv /tmp/x86/* /usr/lib
sudo mv /tmp/amd64/* /usr/lib/amd64
- name: upload
Expand Down

0 comments on commit 4fb0913

Please sign in to comment.