Skip to content

Commit

Permalink
cleanup build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Robadob committed Oct 31, 2023
1 parent 09fb636 commit 2efb653
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions swig/conda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,9 @@ else
swig_exe=""
swig_dir=""
fi
echo "swig_exe: $swig_exe"
echo "swig_dir: $swig_dir"
# Setup python packages
# Issues with CMake locating ones installed by conda

#pip install setuptools wheel build astpretty

mkdir -p build && cd build

which python

python --version

which python3

python3 --version

echo "build dir"
echo $BUILD_PREFIX
echo "host python"
echo $PYTHON
$PYTHON --version


# Configure CMake
cmake .. -DCMAKE_BUILD_TYPE=Release -DFLAMEGPU_BUILD_PYTHON=ON -DFLAMEGPU_BUILD_PYTHON_VENV=OFF -DFLAMEGPU_BUILD_ALL_EXAMPLES=OFF -DFLAMEGPU_BUILD_PYTHON_CONDA=ON $build_arch $swig_exe $swig_dir $CMAKE_ARGS -DPython3_FIND_VIRTUALENV=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH -DPython3_ROOT_DIR="$BUILD_PREFIX" -DPython3_EXECUTABLE="$PYTHON"

Expand Down

0 comments on commit 2efb653

Please sign in to comment.