Skip to content

Commit

Permalink
Clean up, now everything should build correctly but fail to upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcurtin committed Apr 9, 2024
1 parent 74a4f7c commit dc464f0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build_mlpack.osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ 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.
Expand All @@ -76,8 +73,6 @@ make -j4
# files and stored them off to the side. So, we will put them back into place,
# and we will then call setup.py build_ext again to build all the Cython
# modules.
ls ../py-old/*.pyx
cat src/mlpack/bindings/python/setup.py # debugging
if [ "$CIBW_ARCHS_MACOS" == "arm64" ];
then
cp ../py-old/*.pyx src/mlpack/bindings/python/mlpack/
Expand Down

0 comments on commit dc464f0

Please sign in to comment.