16 lines
465 B
Bash
Executable File
16 lines
465 B
Bash
Executable File
#!/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
|