We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 314c1f0 commit 1fea43dCopy full SHA for 1fea43d
.github/workflows/mac-arm64.yml
@@ -0,0 +1,32 @@
1
+name: Build macOS ARM64
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ build:
10
+ runs-on: [self-hosted, macOS, ARM64]
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ with:
14
+ submodules: true
15
16
+ - name: Build
17
+ run: |
18
+ mkdir -p build
19
+ cd build
20
+ LIBOMP=$(brew --prefix libomp)
21
+ cmake \
22
+ -DCMAKE_BUILD_TYPE=Release \
23
+ -DOpenMP_C_FLAGS="-Xpreprocessor -fopenmp -I${LIBOMP}/include" \
24
+ -DOpenMP_C_LIB_NAMES=omp \
25
+ -DOpenMP_CXX_FLAGS="-Xpreprocessor -fopenmp -I${LIBOMP}/include" \
26
+ -DOpenMP_CXX_LIB_NAMES=omp \
27
+ -DOpenMP_omp_LIBRARY=${LIBOMP}/lib/libomp.a \
28
+ ..
29
+ make -j$(sysctl -n hw.ncpu)
30
31
+ - name: Test
32
+ run: ./util/regression/run_regression.sh ./build/src/mmseqs SCRATCH
0 commit comments