Skip to content

Commit 751469e

Browse files
committed
[𝘀𝗽𝗿] initial version
Created using spr 1.3.6
1 parent d54aa36 commit 751469e

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.ci/compute_projects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"clang": {"compiler-rt"},
8181
"clang-tools-extra": {"libc"},
8282
"libc": {"libc"},
83+
"compiler-rt": {"compiler-rt"},
8384
".ci": {"compiler-rt", "libc"},
8485
}
8586
DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG = {

.ci/compute_projects_test.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,33 @@ def test_clang_windows(self):
126126
)
127127
self.assertEqual(env_variables["enable_cir"], "OFF")
128128

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+
self.assertEqual(
141+
env_variables["runtimes_to_build"], "compiler-rt"
142+
)
143+
self.assertEqual(
144+
env_variables["runtimes_check_targets"],
145+
"check-compiler-rt",
146+
)
147+
self.assertEqual(
148+
env_variables["runtimes_check_targets_needs_reconfig"],
149+
"",
150+
)
151+
self.assertEqual(
152+
env_variables["enable_cir"],
153+
"OFF",
154+
)
155+
129156
def test_cir(self):
130157
env_variables = compute_projects.get_env_variables(
131158
["clang/lib/CIR/CMakeLists.txt"], "Linux"

0 commit comments

Comments
 (0)