Skip to content

Commit

Permalink
Update build scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgalenson committed Nov 30, 2014
1 parent 7395f87 commit f7ccb6a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions incomplete/llvm-clang/build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

DOWNLOAD_DIR=http://llvm.org/releases/3.3/
LLVM_FILENAME=llvm-3.3.src
CLANG_FILENAME=cfe-3.3.src
LLVM_TAR_FILE=${LLVM_FILENAME}.tar.gz
CLANG_TAR_FILE=${CLANG_FILENAME}.tar.gz
DOWNLOAD_DIR=http://llvm.org/releases/3.5.0/
LLVM_FILENAME=llvm-3.5.0.src
CLANG_FILENAME=cfe-3.5.0.src
LLVM_TAR_FILE=${LLVM_FILENAME}.tar.xz
CLANG_TAR_FILE=${CLANG_FILENAME}.tar.xz

EMCONFIGURE=emconfigure
EMMAKE=emmake
Expand Down Expand Up @@ -55,7 +55,7 @@ chmod +x js/Release/bin/clang-tblgen
echo "Building JavaScript"
mkdir -p js
cd js
$EMCONFIGURE ../configure $CONFIGURE_OPTIONS
$EMCONFIGURE ../configure $CONFIGURE_OPTIONS --disable-zlib
$EMMAKE make
if [ ! -e "Release/bin/clang" ]; then
echo "The clang bytecode file does not exist."
Expand Down
2 changes: 1 addition & 1 deletion lingeling/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ echo "Building"
$EMCONFIGURE ./configure.sh
$EMMAKE make lingeling
ln -s lingeling lingeling.bc
$EMCC -O3 -s EXPORTED_FUNCTIONS='["_solve_string"]' -s TOTAL_MEMORY=33554432 -s PRECISE_I64_MATH=1 lingeling.bc -o lingeling.js
$EMCC -O3 -s EXPORTED_FUNCTIONS='["_solve_string"]' -s TOTAL_MEMORY=33554432 -s TOTAL_STACK=26214400 -s PRECISE_I64_MATH=1 lingeling.bc -o lingeling.js
cp lingeling.js{,.mem} ../
cd ..

Expand Down
2 changes: 1 addition & 1 deletion minisat/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cd minisat
$EMMAKE make r
cd build/release/bin
ln -s minisat minisat.bc
$EMCC -O3 -s EXPORTED_FUNCTIONS='["_solve_string"]' -s TOTAL_MEMORY=67108864 minisat.bc -o minisat.js
$EMCC -O3 -s EXPORTED_FUNCTIONS='["_solve_string"]' -s TOTAL_MEMORY=67108864 -s TOTAL_STACK=26214400 minisat.bc -o minisat.js
cd ../../../..
cp minisat/build/release/bin/minisat.js{,.mem} .

Expand Down

0 comments on commit f7ccb6a

Please sign in to comment.