mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-09-11 13:36:08 +03:00
Update racket bootstrap scripts
Need to pass the LD_LIBRARY_PATH all the way through or racket doesn't know where to look. I really don't know why it doesn't work to just set it at the top level in the script, but it didn't (on my Mac, at least).
This commit is contained in:
parent
746df34470
commit
9eba9113dd
1
Makefile
1
Makefile
@ -60,7 +60,6 @@ base: prelude
|
||||
|
||||
network: prelude
|
||||
${MAKE} -C libs/network IDRIS2=../../${TARGET} IDRIS2_PATH=${IDRIS2_BOOT_PATH}
|
||||
${MAKE} -C libs/network test IDRIS2=../../${TARGET} IDRIS2_PATH=${IDRIS2_BOOT_PATH}
|
||||
|
||||
contrib: prelude
|
||||
${MAKE} -C libs/contrib IDRIS2=../../${TARGET} IDRIS2_PATH=${IDRIS2_BOOT_PATH}
|
||||
|
@ -18,10 +18,10 @@ PREFIX="`dirname $DIR`"/bootstrap
|
||||
|
||||
# Now rebuild everything properly
|
||||
echo ${PREFIX}
|
||||
|
||||
IDRIS2_BOOT_PATH="${PREFIX}/idris2-0.2.0/prelude:${PREFIX}/idris2-0.2.0/base:${PREFIX}/idris2-0.2.0/contrib:${PREFIX}/idris2-0.2.0/network"
|
||||
DYLIB_PATH="${PREFIX}/lib"
|
||||
|
||||
make libs CG=racket PREFIX=${PREFIX}
|
||||
make install CG=racket PREFIX=${PREFIX}
|
||||
make clean
|
||||
make all IDRIS2_BOOT=${PREFIX}/bin/idris2sh CG=racket IDRIS2_PATH=${IDRIS2_BOOT_PATH}
|
||||
make libs CG=racket PREFIX=${PREFIX} LD_LIBRARY_PATH=${DYLIB_PATH}
|
||||
make install CG=racket PREFIX=${PREFIX} LD_LIBRARY_PATH=${DYLIB_PATH}
|
||||
make clean IDRIS2_BOOT=${PREFIX}/bin/idris2sh LD_LIBRARY_PATH=${DYLIB_PATH}
|
||||
make all IDRIS2_BOOT=${PREFIX}/bin/idris2sh CG=racket IDRIS2_PATH=${IDRIS2_BOOT_PATH} LD_LIBRARY_PATH=${DYLIB_PATH}
|
||||
|
@ -29,5 +29,5 @@ IDRIS2_BOOT_PATH="${PREFIX}/idris2-0.2.0/prelude:${PREFIX}/idris2-0.2.0/base:${P
|
||||
|
||||
make libs SCHEME=${SCHEME} PREFIX=${PREFIX}
|
||||
make install SCHEME=${SCHEME} PREFIX=${PREFIX}
|
||||
make clean
|
||||
make clean IDRIS2_BOOT=${PREFIX}/bin/idris2sh
|
||||
make all IDRIS2_BOOT=${PREFIX}/bin/idris2sh SCHEME=${SCHEME} IDRIS2_PATH=${IDRIS2_BOOT_PATH}
|
||||
|
@ -1,6 +1,6 @@
|
||||
include ../../config.mk
|
||||
|
||||
INSTALLDIR = `${IDRIS2} --libdir`/network/lib
|
||||
INSTALLDIR = ${PREFIX}/idris2-${IDRIS2_VERSION}/network/lib
|
||||
|
||||
IDRIS_SRCS = Network/Socket.idr Network/Socket/Data.idr Network/Socket/Raw.idr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user