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
* Add split-dwarf to improve linker resource consumption in incremental build
* More target-oriented cmake + verify that llvm small libs exist when not using the fat lib
* Single export set + rename install components
* minor fix
* Auto-detect whether we should link against the fat LLVM lib
* Fix in-tree build
* fix llvm small library search
* make output of non-found small llvm libs pretty
---------
Co-authored-by: Martin Mory <linuxfan91@googlemail.com>
message(FATAL_ERROR"Did not find a complete version of LLVM: Did not find the fat lib libLLVM.so, but also did not find the individual modules ${LLVM_SMALL_LIB_NOTFOUND}.")
message(WARNING"Did not find the LLVM modules ${LLVM_SMALL_LIB_NOTFOUND_PRETTY}. Fallback to link against ${LLVM_LIBRARY}. To silence this warning, set -DUSE_LLVM_FAT_LIB=ON in the cmake invocation.")
331
+
endif()
332
+
endif(DEFINEDLLVM_SMALL_LIB_NOTFOUND)
333
+
endif(NOTUSE_LLVM_FAT_LIB)
334
+
endif(NOTPHASAR_IN_TREE)
274
335
275
336
if(NOT LLVM_ENABLE_RTTI ANDNOT PHASAR_IN_TREE)
276
337
message(FATAL_ERROR"PhASAR requires a LLVM version that is built with RTTI")
@@ -315,7 +376,7 @@ if(BUILD_PHASAR_CLANG)
315
376
316
377
if (PHASAR_IN_TREE)
317
378
# Phasar needs clang headers, specificaly some that are generated by clangs table-gen
$<BUILD_INTERFACE:${PHASAR_SRC_DIR}/include/> # The regular include folder
203
-
$<BUILD_INTERFACE:${PHASAR_BINARY_DIR}/include/> # The location of phasar-config.h
204
-
)
205
-
206
-
# Set the target property such that installed PhASAR knows where to find its includes (must be relative paths in this case in contrast to non-installed PhASAR!)
0 commit comments