-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmake.sh
More file actions
executable file
·11 lines (10 loc) · 789 Bytes
/
make.sh
File metadata and controls
executable file
·11 lines (10 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
echo "Compiling OpenIRT..."
# g++ -O3 -funroll-loops openirt.cc -o openirt
# g++ -O3 -funroll-loops -I /usr/local/include/boost-1_39/ openirt.cpp -o build/openirt /lib/libboost_thread-xgcc40-mt.a
#g++ -O3 -funroll-loops -I /usr/local/include/boost-1_39/ openirt.cpp -o build/openirt
# g++ -DSCYTHE_DEBUG=0 -O3 -funroll-loops -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -I /usr/local/include/boost-1_39/ -I /Users/tristanz/data/OpenIRT/src/ openirt.cpp -o build/openirt
# source /opt/intel/Compiler/11.0/059/bin/iccvars.sh ia32
#icpc -DSCYTHE_DEBUG=0 -O3 -fast -I /usr/local/include/boost-1_39/ openirt.cpp -o ../Stata/openirt.exe
#[ $? -ne 0 ] && exit 1
mkdir build; g++ -DSCYTHE_DEBUG=0 -O3 -funroll-loops -I ./src src/openirt.cpp -o stata/openirt_osx