Skip to content

Commit 12ece03

Browse files
[SYCL] Temporarily turn off zstd, except on CI (#15833)
It's a temporary fix for local build issues with intel/llvm when zstd is not available. I'll revert this after triaging and fixing the build issue.
1 parent de4efa0 commit 12ece03

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

buildbot/configure.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def do_configure(args):
6464

6565
sycl_enable_xpti_tracing = "ON"
6666
xpti_enable_werror = "OFF"
67+
llvm_enable_zstd = "OFF"
6768

6869
if sys.platform != "darwin":
6970
sycl_enabled_backends.append("level_zero")
@@ -133,6 +134,8 @@ def do_configure(args):
133134

134135
# For clang-format, clang-tidy and code coverage
135136
llvm_enable_projects += ";clang-tools-extra;compiler-rt"
137+
# Build with zstd enabled on CI.
138+
llvm_enable_zstd = "ON"
136139
if sys.platform != "darwin":
137140
# libclc is required for CI validation
138141
libclc_enabled = True
@@ -177,7 +180,7 @@ def do_configure(args):
177180
"-DLLVM_ENABLE_PROJECTS={}".format(llvm_enable_projects),
178181
"-DSYCL_BUILD_PI_HIP_PLATFORM={}".format(sycl_build_pi_hip_platform),
179182
"-DLLVM_BUILD_TOOLS=ON",
180-
"-DLLVM_ENABLE_ZSTD=ON",
183+
"-DLLVM_ENABLE_ZSTD={}".format(llvm_enable_zstd),
181184
"-DLLVM_USE_STATIC_ZSTD=ON",
182185
"-DSYCL_ENABLE_WERROR={}".format(sycl_werror),
183186
"-DCMAKE_INSTALL_PREFIX={}".format(install_dir),

0 commit comments

Comments
 (0)