You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/mlpack/ensmallen.git
cd ensmallen/tests
rm catch2.hpp
wget https://github.com/catchorg/Catch2/releases/download/v2.13.4/catch.hpp
cd ..
mkdir build
cd build
cmake ..
make
Could the embedded assembly code be replaced for Apple M1 processor?
Thank you.
% brew install --build-from-source ensmallen
==> Downloading https://github.com/mlpack/ensmallen/archive/2.16.1.tar.gz
Already downloaded: /Users/joesong/Library/Caches/Homebrew/downloads/7fe6be0479b5520276f672eddcec999809758c01481a2cd7f6d0441b415fc045--ensmallen-2.16.1.tar.gz
==> cmake ..
==> make install
Last 15 lines from /Users/joesong/Library/Logs/Homebrew/ensmallen/02.make:
#define CATCH_BREAK_INTO_DEBUGGER() if( Catch::isDebuggerActive() ) { CATCH_TRAP(); }
^
/tmp/ensmallen-20210306-15863-bv9x46/ensmallen-2.16.1/tests/catch.hpp:5269:34: note: expanded from macro 'CATCH_TRAP'
#define CATCH_TRAP() asm("int $3\n" : : ) /* NOLINT */
^
:1:6: note: instantiated into assembly here
int $3
^
[ 40%] Building CXX object tests/CMakeFiles/ensmallen_tests.dir/iqn_test.cpp.o
cd /tmp/ensmallen-20210306-15863-bv9x46/ensmallen-2.16.1/build/tests && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -I/tmp/ensmallen-20210306-15863-bv9x46/ensmallen-2.16.1/include -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -Wall -Wpedantic -Wunused-parameter -std=gnu++11 -o CMakeFiles/ensmallen_tests.dir/iqn_test.cpp.o -c /tmp/ensmallen-20210306-15863-bv9x46/ensmallen-2.16.1/tests/iqn_test.cpp
2 errors generated.
make[2]: *** [tests/CMakeFiles/ensmallen_tests.dir/main.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [tests/CMakeFiles/ensmallen_tests.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: