We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 297fb45 commit 996f7f3Copy full SHA for 996f7f3
buildbot/configure.py
@@ -76,14 +76,17 @@ def do_configure(args):
76
"-DLLVM_ENABLE_SPHINX={}".format(llvm_enable_sphinx),
77
"-DBUILD_SHARED_LIBS={}".format(llvm_build_shared_libs),
78
"-DSYCL_ENABLE_XPTI_TRACING=ON" # Explicitly turn on XPTI tracing
79
- ] + args.cmake_opt
80
-
+ ]
81
82
if not args.no_ocl:
83
cmake_cmd.extend([
84
"-DOpenCL_INCLUDE_DIR={}".format(ocl_header_dir),
85
"-DOpenCL_LIBRARY={}".format(icd_loader_lib)])
86
+ # Add additional CMake options if provided
87
+ if args.cmake_opt:
88
+ cmake_cmd += args.cmake_opt
89
+
90
# Add path to root CMakeLists.txt
91
cmake_cmd.append(llvm_dir)
92
0 commit comments