Skip to content

Commit

Permalink
ninja syntax fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
darioizzo committed Oct 1, 2023
1 parent 07d174b commit 992b3f5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tools/gha_linux_pykep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ source activate $deps_dir
# First we build and install the kep3 library
mkdir build
cd build
cmake -G "Ninja" ../ -DCMAKE_INSTALL_PREFIX=$deps_dir -DCMAKE_PREFIX_PATH=$deps_dir -DCMAKE_BUILD_TYPE=Release -Dkep3_BUILD_TESTS=no -Dkep3_BUILD_Benchmarks=no -Dkep3_BUILD_PYTHON_BINDINGS=no -DBoost_NO_BOOST_CMAKE=ON
make VERBOSE=1 install

cmake -G "Ninja" ../ -DCMAKE_INSTALL_PREFIX=$deps_dir -DCMAKE_PREFIX_PATH=$deps_dir -DCMAKE_BUILD_TYPE=Release -Dkep3_BUILD_TESTS=no -Dkep3_BUILD_BENCHMARKS=no -Dkep3_BUILD_PYTHON_BINDINGS=no -DBoost_NO_BOOST_CMAKE=ON
cmake --build . --target=install --config=Release -- -j 2
# Then we build and install pykep
cd ..
mkdir build_pykep
cmake -G "Ninja" ../ -DCMAKE_INSTALL_PREFIX=$deps_dir -DCMAKE_PREFIX_PATH=$deps_dir -DCMAKE_BUILD_TYPE=Release -Dkep3_BUILD_TESTS=no -Dkep3_BUILD_Benchmarks=no -Dkep3_BUILD_PYTHON_BINDINGS=yes -DBoost_NO_BOOST_CMAKE=ON
make VERBOSE=1 install
cmake -G "Ninja" ../ -DCMAKE_INSTALL_PREFIX=$deps_dir -DCMAKE_PREFIX_PATH=$deps_dir -DCMAKE_BUILD_TYPE=Release -Dkep3_BUILD_TESTS=no -Dkep3_BUILD_BENCHMARKS=no -Dkep3_BUILD_PYTHON_BINDINGS=yes -DBoost_NO_BOOST_CMAKE=ON
cmake --build . --target=install --config=Release -- -j 2

python -c "import pykep.test; pykep.test.run_test_suite()"

Expand Down

0 comments on commit 992b3f5

Please sign in to comment.