[all-commits] [llvm/llvm-project] 2f8d8c: Generalize finding the rocm_agent_enumberator program
Krzysztof Drewniak via All-commits
all-commits at lists.llvm.org
Wed Aug 2 13:36:08 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2f8d8c78a89ea86c602db38ee63f48f5a8229b36
https://github.com/llvm/llvm-project/commit/2f8d8c78a89ea86c602db38ee63f48f5a8229b36
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2023-08-02 (Wed, 02 Aug 2023)
Changed paths:
M mlir/lib/ExecutionEngine/CMakeLists.txt
Log Message:
-----------
Generalize finding the rocm_agent_enumberator program
On Fedora, rocminfo is a fedora package and rocm_agent_enumberator is
installed to /usr/bin. This causes this error when building.
CMake Error at external/llvm-project/mlir/lib/ExecutionEngine/CMakeLists.txt:232 (message):
Could not run rocm_agent_enumerator and ROCM_TEST_CHIPSET is not defined
So use find_program() to look for rocm_agent_enumerator instead of assuming a
single location.
Signed-off-by: Tom Rix <trix at redhat.com>
Reviewed By: krzysz00
Differential Revision: https://reviews.llvm.org/D156826
More information about the All-commits
mailing list