From dc329fbf286b87e73e438b1ce39f3963ab72db71 Mon Sep 17 00:00:00 2001 From: "Agarwal, Udit" Date: Wed, 23 Oct 2024 07:57:29 -0700 Subject: [PATCH] Enable zstd only on CI --- buildbot/configure.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/buildbot/configure.py b/buildbot/configure.py index dd710dd3aef93..e7e32cb4e7771 100644 --- a/buildbot/configure.py +++ b/buildbot/configure.py @@ -64,6 +64,7 @@ def do_configure(args): sycl_enable_xpti_tracing = "ON" xpti_enable_werror = "OFF" + llvm_enable_zstd = "OFF" if sys.platform != "darwin": sycl_enabled_backends.append("level_zero") @@ -133,6 +134,8 @@ def do_configure(args): # For clang-format, clang-tidy and code coverage llvm_enable_projects += ";clang-tools-extra;compiler-rt" + # Build with zstd enabled on CI. + llvm_enable_zstd = "ON" if sys.platform != "darwin": # libclc is required for CI validation libclc_enabled = True @@ -177,7 +180,7 @@ def do_configure(args): "-DLLVM_ENABLE_PROJECTS={}".format(llvm_enable_projects), "-DSYCL_BUILD_PI_HIP_PLATFORM={}".format(sycl_build_pi_hip_platform), "-DLLVM_BUILD_TOOLS=ON", - "-DLLVM_ENABLE_ZSTD=ON", + "-DLLVM_ENABLE_ZSTD={}".format(llvm_enable_zstd), "-DLLVM_USE_STATIC_ZSTD=ON", "-DSYCL_ENABLE_WERROR={}".format(sycl_werror), "-DCMAKE_INSTALL_PREFIX={}".format(install_dir),