Skip to content

Commit a0f0d01

Browse files
whitneywhtsangetiotto
authored andcommitted
Add mlir;mlir-sycl;polygeist as external projects (#11)
Signed-off-by: Tsang, Whitney <[email protected]>
1 parent 0a1b437 commit a0f0d01

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

buildbot/configure.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def do_configure(args):
1313
if not os.path.isdir(abs_obj_dir):
1414
os.makedirs(abs_obj_dir)
1515

16-
llvm_external_projects = 'sycl;llvm-spirv;opencl;libdevice;xpti;xptifw'
16+
llvm_external_projects = 'sycl;llvm-spirv;opencl;libdevice;xpti;xptifw;mlir;mlir-sycl;polygeist'
1717

1818
libclc_amd_target_names = ';amdgcn--;amdgcn--amdhsa'
1919
libclc_nvidia_target_names = 'nvptx64--;nvptx64--nvidiacl'
@@ -27,6 +27,9 @@ def do_configure(args):
2727
xpti_dir = os.path.join(abs_src_dir, "xpti")
2828
xptifw_dir = os.path.join(abs_src_dir, "xptifw")
2929
libdevice_dir = os.path.join(abs_src_dir, "libdevice")
30+
mlir_dir = os.path.join(abs_src_dir, "mlir")
31+
mlir_sycl_dir = os.path.join(abs_src_dir, "mlir-sycl")
32+
polygeist_dir = os.path.join(abs_src_dir, "polygeist")
3033
llvm_targets_to_build = 'X86'
3134
llvm_enable_projects = 'clang;' + llvm_external_projects
3235
libclc_targets_to_build = ''
@@ -136,6 +139,9 @@ def do_configure(args):
136139
"-DXPTI_SOURCE_DIR={}".format(xpti_dir),
137140
"-DLLVM_EXTERNAL_XPTIFW_SOURCE_DIR={}".format(xptifw_dir),
138141
"-DLLVM_EXTERNAL_LIBDEVICE_SOURCE_DIR={}".format(libdevice_dir),
142+
"-DLLVM_EXTERNAL_MLIR_SOURCE_DIR={}".format(mlir_dir),
143+
"-DLLVM_EXTERNAL_MLIR_SYCL_SOURCE_DIR={}".format(mlir_sycl_dir),
144+
"-DLLVM_EXTERNAL_POLYGEIST_SOURCE_DIR={}".format(polygeist_dir),
139145
"-DLLVM_ENABLE_PROJECTS={}".format(llvm_enable_projects),
140146
"-DLIBCLC_TARGETS_TO_BUILD={}".format(libclc_targets_to_build),
141147
"-DLIBCLC_GENERATE_REMANGLED_VARIANTS={}".format(libclc_gen_remangled_variants),

0 commit comments

Comments
 (0)