We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 320832c commit c3aed0dCopy full SHA for c3aed0d
mlir/CMakeLists.txt
@@ -37,6 +37,12 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
37
38
include(AddMLIR)
39
40
+# -BSymbolic is incompatible with TypeID
41
+if("${CMAKE_SHARED_LINKER_FLAGS}" MATCHES "-Bsymbolic[^-]")
42
+ message(FATAL_ERROR " MLIR does not support `-Bsymbolic` (see http://llvm.org/pr51420 ),"
43
+ " try `-Bsymbolic-functions` instead.")
44
+endif()
45
+
46
# Forbid implicit function declaration: this may lead to subtle bugs and we
47
# don't have a reason to support this.
48
check_c_compiler_flag("-Werror=implicit-function-declaration" C_SUPPORTS_WERROR_IMPLICIT_FUNCTION_DECLARATION)
0 commit comments