diff options
author | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | 2023-08-02 20:35:27 +0000 |
---|---|---|
committer | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | 2023-08-02 20:35:54 +0000 |
commit | 2f8d8c78a89ea86c602db38ee63f48f5a8229b36 (patch) | |
tree | d155219620b42d2a24216035ff5457ca6dbfd80f /clang/lib/Driver/Driver.cpp | |
parent | 20f7cc0df3c1520d874849609a8d74faa668775a (diff) | |
download | llvm-2f8d8c78a89ea86c602db38ee63f48f5a8229b36.zip llvm-2f8d8c78a89ea86c602db38ee63f48f5a8229b36.tar.gz llvm-2f8d8c78a89ea86c602db38ee63f48f5a8229b36.tar.bz2 |
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@redhat.com>
Reviewed By: krzysz00
Differential Revision: https://reviews.llvm.org/D156826
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions