Skip to content

Commit 5755459

Browse files
committed
More debug output
1 parent fdf36a7 commit 5755459

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

conda-recipe/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -x
22

33
${PYTHON} setup.py clean --all
44
echo "=== CONDA_PREFIX=$CONDA_PREFIX"

scripts/build_backend.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def build_backend(
3737
else:
3838
assert False, sys.platform + " not supported"
3939

40+
print("=== build_backend sycl_compiler_prefix =", sycl_compiler_prefix)
41+
4042
if sycl_compiler_prefix is None:
4143
oneapi_root = os.getenv("ONEAPI_ROOT")
4244
if IS_LIN:

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ def build_backend(l0_support, coverage, sycl_compiler_prefix):
112112
)
113113
builder_module = module_from_spec(spec)
114114
spec.loader.exec_module(builder_module)
115+
116+
print("=== setup.py build_backend sycl_compiler_prefix =", sycl_compiler_prefix)
117+
115118
builder_module.build_backend(
116119
l0_support=l0_support,
117120
code_coverage=coverage,
@@ -313,6 +316,9 @@ def finalize_options(self):
313316
raise ValueError(
314317
"--level-zero-support value is invalid, use True/False"
315318
)
319+
320+
print("=== install finalize_options sycl_compiler_prefix =", self.sycl_compiler_prefix)
321+
316322
if isinstance(self.sycl_compiler_prefix, str):
317323
if not os.path.exists(os.path.join(self.sycl_compiler_prefix)):
318324
raise ValueError(

0 commit comments

Comments
 (0)