diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py index 80e4e0221b3d7..33d29ba284354 100644 --- a/.ci/compute_projects.py +++ b/.ci/compute_projects.py @@ -53,16 +53,16 @@ "mlir": {"flang"}, # Test everything if ci scripts are changed. ".ci": { - "llvm", - "clang", - "lld", - "lldb", - "bolt", - "clang-tools-extra", - "mlir", - "polly", - "flang", - "libclc", +# "llvm", +# "clang", +# "lld", +# "lldb", +# "bolt", +# "clang-tools-extra", +# "mlir", +# "polly", +# "flang", +# "libclc", "openmp", }, } @@ -77,12 +77,12 @@ DEPENDENT_RUNTIMES_TO_TEST = { "clang": {"compiler-rt"}, "clang-tools-extra": {"libc"}, - ".ci": {"compiler-rt", "libc"}, + # ".ci": {"compiler-rt", "libc"}, } DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG = { "llvm": {"libcxx", "libcxxabi", "libunwind"}, "clang": {"libcxx", "libcxxabi", "libunwind"}, - ".ci": {"libcxx", "libcxxabi", "libunwind"}, + # ".ci": {"libcxx", "libcxxabi", "libunwind"}, } EXCLUDE_LINUX = { @@ -170,6 +170,7 @@ def _exclude_projects(current_projects: Set[str], platform: str) -> Set[str]: def _compute_projects_to_test(modified_projects: Set[str], platform: str) -> Set[str]: projects_to_test = set() for modified_project in modified_projects: + sys.stderr.write("HELLO " + modified_project) if modified_project in RUNTIMES: continue # Skip all projects where we cannot run tests. @@ -207,6 +208,8 @@ def _compute_runtimes_to_test(modified_projects: Set[str], platform: str) -> Set for modified_project in modified_projects: if modified_project in DEPENDENT_RUNTIMES_TO_TEST: runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_TEST[modified_project]) +# if modified_project in RUNTIMES: +# runtimes_to_test.add(modified_project) return _exclude_projects(runtimes_to_test, platform) diff --git a/.ci/compute_projects_test.py b/.ci/compute_projects_test.py index 5efac26366981..118c7a0bce517 100644 --- a/.ci/compute_projects_test.py +++ b/.ci/compute_projects_test.py @@ -197,6 +197,16 @@ def test_exclude_runtiems_in_projects(self): self.assertEqual(env_variables["runtimes_check_targets"], "") self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "") + def test_exclude_libc_from_projects(self): + env_variables = compute_projects.get_env_variables( + ["libc/CMakeLists.txt"], "Linux" + ) + self.assertEqual(env_variables["projects_to_build"], "") + self.assertEqual(env_variables["project_check_targets"], "") + self.assertEqual(env_variables["runtimes_to_build"], "libc") + self.assertEqual(env_variables["runtimes_check_targets"], "check-libc") + self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "") + def test_exclude_docs(self): env_variables = compute_projects.get_env_variables( ["llvm/docs/CIBestPractices.rst"], "Linux" diff --git a/libc/src/math/exp10f.h b/libc/src/math/exp10f.h index 0e537421c66a9..44789ba291823 100644 --- a/libc/src/math/exp10f.h +++ b/libc/src/math/exp10f.h @@ -11,6 +11,8 @@ #include "src/__support/macros/config.h" +// test change to trigger premerge + namespace LIBC_NAMESPACE_DECL { float exp10f(float x);