Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Link .a created by compile_to_static_library() using Intel compiler? #3218
An application I'm working on is built with clang-902.0.39.2, VS2017 as well as Intel's compiler. I compile a Halide filter using compile_to_static_library() and when linking it with both clang/VS2017 it all works as expected. When building with the Intel compiler, Windows links my .lib in fine but on OSX icpc crashes with the following error:
FWIW the app that creates the .a/.lib is built with clang/VS2017 respectively, should that matter?
Any info on whether this is supposed to work or not, or any workarounds/hints would be much appreciated.