Commit f5d14113 authored by Dr.李's avatar Dr.李

update build script

parent 14058cc2
...@@ -44,6 +44,10 @@ install: ...@@ -44,6 +44,10 @@ install:
- sudo cp *.a /usr/lib - sudo cp *.a /usr/lib
- cd $CWD - cd $CWD
script: script:
- cd alphamind/pfopt
- git submodule init
- git submodule update
- cd ../..
- bash build_linux_dependencies.sh - bash build_linux_dependencies.sh
- export NUMBA_DISABLE_JIT=1 - export NUMBA_DISABLE_JIT=1
- export LD_LIBRARY_PATH="$PWD/alphamind/pfopt/lib:$LD_LIBRARY_PATH" - export LD_LIBRARY_PATH="$PWD/alphamind/pfopt/lib:$LD_LIBRARY_PATH"
......
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
cd alphamind/pfopt cd alphamind/pfopt
git submodule init
git submodule update
./build_linux.sh ./build_linux.sh
if [ $? -ne 0 ] ; then if [ $? -ne 0 ] ; then
......
@echo off @echo off
cd alphamind/pfopt cd alphamind\pfopt
git submodule init
git submodule update
call build_windows.bat call build_windows.bat
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment