2020-10-13 08:37:53 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
apk upgrade --update-cache --available
|
|
|
|
apk add alpine-sdk ca-certificates libcrypto1.1 libssl1.1 chrpath libffi-dev libucontext-dev
|
|
|
|
|
|
|
|
cd /racket-*/src
|
|
|
|
export CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
|
|
|
export LDFLAGS="$LDFLAGS -lucontext"
|
|
|
|
rm -Rf src/foreign/libffi
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-docs --enable-strip --enable-libs --disable-gracket
|
|
|
|
make -j $(nproc) CPUS=$(nproc)
|
|
|
|
make install
|
|
|
|
raco pkg install --deps search-auto cext-lib
|
2020-10-17 03:33:50 +00:00
|
|
|
raco pkg install --deps search-auto gui-lib
|