Skip to content

Commit

Permalink
added arm script
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhite authored and jwhite committed Dec 20, 2023
1 parent 2ddb848 commit 7b78b14
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scripts/build_pestpp_mac_arm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/sh
realpath() {
[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"
}
set -e

full_path=$(realpath $0)
script_path=$(dirname $full_path)
cd "$script_path"/..

rm -rfd build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ -DFORCE_STATIC=OFF ..
make -j
cpack -G TGZ
cp *.tar.gz ../

0 comments on commit 7b78b14

Please sign in to comment.