This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Description
I used the following on Apple M1 MacBook Pro:
$ conda create -n seq llvmdev=12 cmake
$ conda activate seq
$ cmake .. -DCMAKE_BUILD_TYPE=Release \
-DLLVM_DIR=$(llvm-config --cmakedir) \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++
$ make
...
[ 0%] Building C object _deps/openmp-build/runtime/src/CMakeFiles/omp.dir/z_Linux_asm.S.o
/Users/certik/repos/seq/build/_deps/openmp-src/runtime/src/z_Linux_asm.S:1546:5: error: unknown directive
.size __kmp_unnamed_critical_addr,8
^
It's trying to compile x86 Linux assembly on macOS arm.