Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .ci/compute_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@
"libc", # No Windows Support.
"lldb", # TODO(issues/132800): Needs environment setup.
"bolt", # No Windows Support.
"libcxx",
"libcxxabi",
"libunwind",
}

# These are projects that we should test if the project itself is changed but
Expand All @@ -118,6 +121,9 @@
"lldb",
"openmp",
"polly",
"libcxx",
"libcxxabi",
"libunwind",
}

PROJECT_CHECK_TARGETS = {
Expand Down
25 changes: 8 additions & 17 deletions .ci/compute_projects_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ def test_llvm_windows(self):
env_variables["project_check_targets"],
"check-clang check-clang-tools check-lld check-llvm check-mlir check-polly",
)
self.assertEqual(
env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
)
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
"",
)

def test_llvm_mac(self):
Expand All @@ -69,16 +67,14 @@ def test_llvm_mac(self):
env_variables["project_check_targets"],
"check-clang check-clang-tools check-lld check-llvm check-mlir",
)
self.assertEqual(
env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
)
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
"",
)

def test_clang(self):
Expand Down Expand Up @@ -119,16 +115,14 @@ def test_clang_windows(self):
self.assertEqual(
env_variables["project_check_targets"], "check-clang check-clang-tools"
)
self.assertEqual(
env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
)
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
"",
)
self.assertEqual(env_variables["enable_cir"], "OFF")

Expand Down Expand Up @@ -298,18 +292,15 @@ def test_windows_ci(self):
)
self.assertEqual(
env_variables["runtimes_to_build"],
"libcxx;libcxxabi;libunwind",
"",
)
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
# TODO(boomanaiden154): We should not be emitting these on Windows.
# It does not currently impact anything because we do not build the
# runtimes on Windows though.
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
"",
)

def test_lldb(self):
Expand Down