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

Fails to build on Apple M1 #248

@certik

Description

@certik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions