ROCm / LLVM-AMDGPU-Assembler-Extra

LLVM AMDGPU Assembler Helper Tools
https://rocm.github.io/GCN_asm_tutorial.html
Other
110 stars 16 forks source link

Fix: build break on machines that do not have Clang #11

Closed kknox closed 8 years ago

kknox commented 8 years ago

The amdphdrs tool does not actually have a dependency on clang or hsa; the examples do. amdphdrs has a dependency on a valid CXX compiler and libelf.

Introducing a new CMAKE configure option 'BUILD_EXAMPLES' that encapsulates the examples and their dependencies. Setting to OFF (default ON) only builds the tool itself.

nhaustov commented 8 years ago

Merged, however just to note: with latest Clang/LLVM trunk amdphdrs is no longer necessary.