Skip to content

Commit

Permalink
Try to figure out why STB is not detected correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcurtin committed Apr 3, 2024
1 parent 0598db2 commit 9b33349
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_mlpack.osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ cd mlpack/
rm -rf build/
mkdir build
cd build/
# Crappy half-patch to try and print errors
cat ../CMake/TestStaticSTB.cmake | sed 's/correctly... fail/correctly...fail: ${out}/' > ../CMake/TestStaticSTB.cmake.tmp;
mv ../CMake/TestStaticSTB.cmake.tmp ../CMake/TestStaticSTB.cmake;

# _LIBCPP_DISABLE_AVAILABILITY is required to avoid compilation errors claiming
# that any_cast is not available.
cmake \
Expand Down

0 comments on commit 9b33349

Please sign in to comment.