Skip to content

Commit

Permalink
[CI] Add ROCM builds to the the nightly
Browse files Browse the repository at this point in the history
Build Experimental ROCM builds
  • Loading branch information
powderluv authored and github-actions[bot] committed Dec 13, 2023
1 parent 275d428 commit d73dc5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions compiler/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ def prepare_installation():
"-DPython3_EXECUTABLE={}".format(sys.executable),
"-DCMAKE_BUILD_TYPE={}".format(cfg),
# TODO(scotttodd): include IREE_TARGET_BACKEND_WEBGPU here (and in env)
get_env_cmake_option("IREE_TARGET_BACKEND_ROCM"),
get_env_cmake_option("IREE_TARGET_BACKEND_OPENCL_SPIRV"),
get_env_cmake_option("IREE_ENABLE_CPUINFO", "ON"),
get_env_cmake_option("IREE_TARGET_BACKEND_ROCM", "ON"),
get_env_cmake_option("IREE_ENABLE_LLD", "OFF"),
Expand Down
3 changes: 2 additions & 1 deletion runtime/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ def build_configuration(cmake_build_dir, cmake_install_dir, extra_cmake_args=())
"IREE_HAL_DRIVER_VULKAN",
"OFF" if platform.system() == "Darwin" else "ON",
),
get_env_cmake_list("IREE_EXTERNAL_HAL_DRIVERS", ""),
get_env_cmake_list("IREE_EXTERNAL_HAL_DRIVERS",
"" if platform.system() != "Linux" else "rocm"),
get_env_cmake_option("IREE_ENABLE_CPUINFO", "ON"),
] + list(extra_cmake_args)
add_env_cmake_setting(cmake_args, "IREE_TRACING_PROVIDER")
Expand Down

0 comments on commit d73dc5a

Please sign in to comment.