Skip to content

Commit

Permalink
Add macos_build script
Browse files Browse the repository at this point in the history
  • Loading branch information
aeiouaeiouaeiouaeiouaeiouaeiou committed Oct 31, 2022
1 parent a298386 commit 50d233b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions macos_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

mkdir build
cd build
cmake -D CMAKE_C_COMPILER=/opt/local/bin/clang-mp-15 -D CMAKE_CXX_COMPILER=/opt/local/bin/clang++-mp-15 -D CMAKE_C_FLAGS="-march=core2" -D CMAKE_CXX_FLAGS="-march=core2" ..
cmake --build . --config Release

0 comments on commit 50d233b

Please sign in to comment.