You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@embeddedt I find the location where cpuid.h locates. Then modifed ogdf/include/ogdf/basic/internal/config.h and add #undef __GNUC__ to force the library not to use this file. The result is it works and I successfully run my code and achieve the goal.
I try to build a cmake library into llvm bitcode. the target library is ogdf, My environment is Mac OS(mojave),
emcc -v
shows below:emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.38.42 clang version 6.0.1 (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-emscripten--core-emscripten--fastcomp--clang 98df4be387dde3e3918fa5bbb5fc43e1a0e1daac) (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-emscripten--core-emscripten--fastcomp 1b4148f39a69c7fc62edadd85e4122b68694dfb7) (emscripten 1.38.31 : 1.38.31) Target: x86_64-apple-darwin18.7.0 Thread model: posix InstalledDir: /Users/basasuya/emsdk/fastcomp/fastcomp/bin shared:INFO: (Emscripten: Running sanity checks)
then I run the following command
then I got errors:
clang-6.0: error: argument unused during compilation: '-march=native' [-Werror,-Wunused-command-line-argument]
then I modify the file and make this line as a Comment. After modifiction, I run the previous build commands again, then I got the following error.
Now I have no idea about how to fix it. Can anyone help me?
The text was updated successfully, but these errors were encountered: