Skip to content

Error "gcc: unknown gcc flag: -mavx512vl" while building llvm #66

@fuzzERot

Description

@fuzzERot

I tried to build LLVM with script run.sh inside gg/examples/llvm folder and got an error:

No build type selected.  You need to pass -DCMAKE_BUILD_TYPE=<type> in
  order to configure LLVM.

After that i added flag to cmake command inside run.sh:
gg infer cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ../llvm-project/llvm

and got error:
gcc: unknown gcc flag: -mavx512vl
Does anyone know what this problem is?

gcc version 7.5

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