Skip to content

Commit

Permalink
Revert "[Hexagon] - Build LLVM with Hexagon only if the builder handl…
Browse files Browse the repository at this point in the history
…es hexagon (#253)" (#254)

This reverts commit 010f1a1.
  • Loading branch information
steven-johnson authored Aug 7, 2023
1 parent 010f1a1 commit 3918049
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions master/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ def get_llvm_cmake_definitions(builder_type):
'LLVM_INCLUDE_BENCHMARKS': 'OFF',
'LLVM_INCLUDE_EXAMPLES': 'OFF',
'LLVM_INCLUDE_TESTS': 'OFF',
'LLVM_TARGETS_TO_BUILD': 'X86;ARM;NVPTX;AArch64;PowerPC;WebAssembly',
'LLVM_TARGETS_TO_BUILD': 'X86;ARM;NVPTX;AArch64;Hexagon;PowerPC;WebAssembly',
}

if builder_type.bits == 32:
Expand All @@ -734,9 +734,6 @@ def get_llvm_cmake_definitions(builder_type):
definitions['CMAKE_FIND_ROOT_PATH_MODE_PACKAGE'] = "ONLY"
definitions['CMAKE_FIND_ROOT_PATH_MODE_PROGRAM'] = "NEVER"

if builder_type.handles_hexagon():
definitions['LLVM_TARGETS_TO_BUILD'] += ";Hexagon"

if builder_type.handles_riscv():
definitions['LLVM_TARGETS_TO_BUILD'] += ";RISCV"

Expand Down

0 comments on commit 3918049

Please sign in to comment.