Skip to content

Commit

Permalink
Use absolute paths for CMake dependency locations.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcurtin committed Apr 8, 2024
1 parent 9b33349 commit 74a4f7c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build_mlpack.emulated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ cd build/
cmake \
-DBUILD_PYTHON_BINDINGS=ON \
-DBUILD_CLI_EXECUTABLES=OFF \
-DSTB_IMAGE_INCLUDE_DIR=../../stb/include/ \
-DSTB_IMAGE_INCLUDE_DIR="$PWD/../../stb/include/" \
../
make
2 changes: 1 addition & 1 deletion build_mlpack.i686.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ cd build/
cmake \
-DBUILD_PYTHON_BINDINGS=ON \
-DBUILD_CLI_EXECUTABLES=OFF \
-DSTB_IMAGE_INCLUDE_DIR=../../stb/include/ \
-DSTB_IMAGE_INCLUDE_DIR="$PWD/../../stb/include/" \
../
make
2 changes: 1 addition & 1 deletion build_mlpack.musl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ cd build/
cmake \
-DBUILD_PYTHON_BINDINGS=ON \
-DBUILD_CLI_EXECUTABLES=OFF \
-DSTB_IMAGE_INCLUDE_DIR=../../stb/include/ \
-DSTB_IMAGE_INCLUDE_DIR="$PWD/../../stb/include/" \
../
make
10 changes: 5 additions & 5 deletions build_mlpack.osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ cmake \
-DCMAKE_OSX_ARCHITECTURES="$CIBW_ARCHS_MACOS" \
-DCMAKE_CXX_FLAGS="-D_LIBCPP_DISABLE_AVAILABILITY" \
-DBUILD_CLI_EXECUTABLES=OFF \
-DARMADILLO_LIBRARY=../../armadillo-11.4.1/libarmadillo.dylib \
-DARMADILLO_INCLUDE_DIR=../../armadillo-11.4.1/tmp/include/ \
-DENSMALLEN_INCLUDE_DIR=../../ensmallen-2.19.0/include/ \
-DSTB_IMAGE_INCLUDE_DIR=../../stb/include/ \
-DCMAKE_INSTALL_PREFIX=../install \
-DARMADILLO_LIBRARY="$PWD/../../armadillo-11.4.1/libarmadillo.dylib" \
-DARMADILLO_INCLUDE_DIR="$PWD/../../armadillo-11.4.1/tmp/include/" \
-DENSMALLEN_INCLUDE_DIR="$PWD/../../ensmallen-2.19.0/include/" \
-DSTB_IMAGE_INCLUDE_DIR="$PWD/../../stb/include/" \
-DCMAKE_INSTALL_PREFIX="$PWD/../install" \
../
make -j4

Expand Down
2 changes: 1 addition & 1 deletion build_mlpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ cd build/
cmake \
-DBUILD_PYTHON_BINDINGS=ON \
-DBUILD_CLI_EXECUTABLES=OFF \
-DSTB_IMAGE_INCLUDE_DIR=../../stb/include/ \
-DSTB_IMAGE_INCLUDE_DIR="$PWD/../../stb/include/" \
../
make

0 comments on commit 74a4f7c

Please sign in to comment.