about summary refs log tree commit diff homepage
path: root/test/lit.site.cfg.in
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2023-10-12 10:32:32 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2024-02-08 13:17:19 +0000
commitef4b8d817181f42d99a2c9664367d60fc3a74c05 (patch)
tree96567bb3105c054678999ab0ebd64fc7743c3882 /test/lit.site.cfg.in
parentf27b748ba2be259177aa672e4d5fc39d36479c7f (diff)
downloadklee-ef4b8d817181f42d99a2c9664367d60fc3a74c05.tar.gz
Replace `%libcxx_include` with `%libcxx_includes` for multi-include directories
To support multiple include directories for c++ header files, use
`%libcxx_includes`. This string contains the `-I` compiler directive for
each include path as well.

Update test cases to use new directive.
Diffstat (limited to 'test/lit.site.cfg.in')
-rw-r--r--test/lit.site.cfg.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in
index d82b8a2c..5c8d77ca 100644
--- a/test/lit.site.cfg.in
+++ b/test/lit.site.cfg.in
@@ -9,7 +9,9 @@ config.klee_obj_root = "@KLEE_BINARY_DIR@"
 config.klee_tools_dir = "@KLEE_TOOLS_DIR@"
 config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
 
-config.libcxx_include_dir = "@KLEE_LIBCXX_INCLUDE_DIR@"
+config.libcxx_include_dirs = ["@KLEE_LIBCXX_INCLUDE_PATH@"]
+if len("@KLEE_LIBCXX_PLATFORM_INCLUDE_PATH@") > 0:
+    config.libcxx_include_dirs.append("@KLEE_LIBCXX_PLATFORM_INCLUDE_PATH@")
 
 # Needed to check if a hack needs to be applied
 config.llvm_version_major = "@LLVM_VERSION_MAJOR@"