Index: clang/test/Unit/lit.site.cfg.py.in =================================================================== --- clang/test/Unit/lit.site.cfg.py.in +++ clang/test/Unit/lit.site.cfg.py.in @@ -8,7 +8,6 @@ config.llvm_libs_dir = lit_config.substitute(path(r"@LLVM_LIBS_DIR@")) config.llvm_build_mode = lit_config.substitute("@LLVM_BUILD_MODE@") config.clang_obj_root = path(r"@CLANG_BINARY_DIR@") -config.enable_shared = @ENABLE_SHARED@ config.shlibdir = lit_config.substitute(path(r"@SHLIBDIR@")) config.target_triple = "@LLVM_TARGET_TRIPLE@" Index: llvm/test/Unit/lit.site.cfg.py.in =================================================================== --- llvm/test/Unit/lit.site.cfg.py.in +++ llvm/test/Unit/lit.site.cfg.py.in @@ -6,7 +6,6 @@ config.llvm_obj_root = path(r"@LLVM_BINARY_DIR@") config.llvm_tools_dir = lit_config.substitute(path(r"@LLVM_TOOLS_DIR@")) config.llvm_build_mode = lit_config.substitute("@LLVM_BUILD_MODE@") -config.enable_shared = @ENABLE_SHARED@ config.shlibdir = lit_config.substitute(path(r"@SHLIBDIR@")) # Let the main config do the real work. Index: llvm/test/lit.site.cfg.py.in =================================================================== --- llvm/test/lit.site.cfg.py.in +++ llvm/test/lit.site.cfg.py.in @@ -22,7 +22,6 @@ config.have_ocamlopt = @HAVE_OCAMLOPT@ config.ocaml_flags = "@OCAMLFLAGS@" config.ptxas_executable = "@PTXAS_EXECUTABLE@" -config.enable_shared = @ENABLE_SHARED@ config.enable_assertions = @ENABLE_ASSERTIONS@ config.targets_to_build = "@TARGETS_TO_BUILD@" config.native_target = "@LLVM_NATIVE_ARCH@" Index: llvm/utils/gn/secondary/clang/test/BUILD.gn =================================================================== --- llvm/utils/gn/secondary/clang/test/BUILD.gn +++ llvm/utils/gn/secondary/clang/test/BUILD.gn @@ -19,7 +19,6 @@ "CLANG_BINARY_DIR=" + rebase_path(get_label_info("//clang", "target_out_dir"), dir), "CLANG_SOURCE_DIR=" + rebase_path("//clang", dir), - "ENABLE_SHARED=0", "LLVM_BINARY_DIR=" + rebase_path(get_label_info("//llvm", "target_out_dir"), dir), "LLVM_LIBS_DIR=", # needed only for shared builds @@ -61,6 +60,7 @@ "CMAKE_CXX_COMPILER=c++", "CMAKE_C_COMPILER=cc", "ENABLE_BACKTRACES=1", + "ENABLE_SHARED=0", "LLVM_ENABLE_ZSTD=0", "LLVM_EXTERNAL_LIT=", "LLVM_HOST_TRIPLE=$llvm_current_triple", Index: llvm/utils/gn/secondary/llvm/test/BUILD.gn =================================================================== --- llvm/utils/gn/secondary/llvm/test/BUILD.gn +++ llvm/utils/gn/secondary/llvm/test/BUILD.gn @@ -21,7 +21,6 @@ values = [ "LIT_SITE_CFG_IN_HEADER=" + "## Autogenerated from $input, do not edit\n\n" + lit_path_function, - "ENABLE_SHARED=0", "LLVM_BINARY_DIR=" + rebase_path(get_label_info("//llvm", "target_out_dir"), dir), "LLVM_SOURCE_DIR=" + rebase_path("//llvm", dir), Index: polly/test/Unit/lit.site.cfg.in =================================================================== --- polly/test/Unit/lit.site.cfg.in +++ polly/test/Unit/lit.site.cfg.in @@ -9,7 +9,6 @@ config.llvm_build_mode = lit_config.substitute("@LLVM_BUILD_MODE@") config.polly_obj_root = "@POLLY_BINARY_DIR@" config.polly_lib_dir = "@POLLY_LIB_DIR@" -config.enable_shared = @ENABLE_SHARED@ config.shlibdir = "@SHLIBDIR@" config.target_triple = "@LLVM_TARGET_TRIPLE@" config.enable_gpgpu_codegen = "@GPU_CODEGEN@"