File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 80
80
"clang" : {"compiler-rt" },
81
81
"clang-tools-extra" : {"libc" },
82
82
"libc" : {"libc" },
83
+ "compiler-rt" : {"compiler-rt" },
83
84
".ci" : {"compiler-rt" , "libc" },
84
85
}
85
86
DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG = {
Original file line number Diff line number Diff line change @@ -126,6 +126,32 @@ def test_clang_windows(self):
126
126
)
127
127
self .assertEqual (env_variables ["enable_cir" ], "OFF" )
128
128
129
+ def test_compiler_rt (self ):
130
+ env_variables = compute_projects .get_env_variables (
131
+ ["compiler-rt/lib/asan/asan_allocator.cpp" ], "Linux"
132
+ )
133
+ self .assertEqual (
134
+ env_variables ["projects_to_build" ],
135
+ "clang;lld" ,
136
+ )
137
+ self .assertEqual (
138
+ env_variables ["project_check_targets" ],
139
+ "" ,
140
+ )
141
+ self .assertEqual (env_variables ["runtimes_to_build" ], "compiler-rt" )
142
+ self .assertEqual (
143
+ env_variables ["runtimes_check_targets" ],
144
+ "check-compiler-rt" ,
145
+ )
146
+ self .assertEqual (
147
+ env_variables ["runtimes_check_targets_needs_reconfig" ],
148
+ "" ,
149
+ )
150
+ self .assertEqual (
151
+ env_variables ["enable_cir" ],
152
+ "OFF" ,
153
+ )
154
+
129
155
def test_cir (self ):
130
156
env_variables = compute_projects .get_env_variables (
131
157
["clang/lib/CIR/CMakeLists.txt" ], "Linux"
You can’t perform that action at this time.
0 commit comments