File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ set(LLVM_LIBS_DIR "${LLVM_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/%(build_config)s"
7
7
llvm_canonicalize_cmake_booleans (
8
8
LLVM_ENABLE_ZLIB
9
9
LLVM_ENABLE_LIBXML2
10
+ LLD_DEFAULT_LD_LLD_IS_MINGW
10
11
)
11
12
12
13
configure_lit_site_cfg (
Original file line number Diff line number Diff line change 110
110
sout , _ = tar_version .communicate ()
111
111
if 'GNU tar' in sout .decode ():
112
112
config .available_features .add ('gnutar' )
113
+
114
+ # ELF tests expect the default target for ld.lld to be ELF.
115
+ if config .ld_lld_default_mingw :
116
+ config .excludes .append ('ELF' )
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ config.python_executable = "@Python3_EXECUTABLE@"
16
16
config.have_zlib = @LLVM_ENABLE_ZLIB@
17
17
config.have_libxml2 = @LLVM_ENABLE_LIBXML2@
18
18
config.sizeof_void_p = @CMAKE_SIZEOF_VOID_P@
19
+ config.ld_lld_default_mingw = @LLD_DEFAULT_LD_LLD_IS_MINGW@
19
20
20
21
# Support substitution of the tools and libs dirs with user parameters. This is
21
22
# used when we can't determine the tool dir at configuration time.
You can’t perform that action at this time.
0 commit comments