Skip to content

Commit 5b52f3f

Browse files
committed
Fix the build
1 parent 9c48d0d commit 5b52f3f

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

libclc/CMakeLists.txt

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -165,26 +165,6 @@ endif()
165165

166166
enable_language( CLC LLAsm )
167167

168-
# Configure prepare_builtins
169-
add_subdirectory(utils)
170-
171-
# This needs to be set before any target that needs it
172-
# We need to use LLVM_INCLUDE_DIRS here, because if we are linking to an
173-
# llvm build directory, this includes $src/llvm/include which is where all the
174-
# headers are not $build/include/ which is what LLVM_INCLUDE_DIR is set to.
175-
include_directories( ${LLVM_INCLUDE_DIRS} )
176-
177-
# Setup prepare_builtins tools
178-
set(LLVM_LINK_COMPONENTS
179-
BitReader
180-
BitWriter
181-
Core
182-
)
183-
add_llvm_executable( prepare_builtins utils/prepare-builtins.cpp )
184-
target_compile_definitions( prepare_builtins PRIVATE ${LLVM_VERSION_DEFINE} )
185-
# These were not properly reported in early LLVM and we don't need them
186-
target_compile_options( prepare_builtins PRIVATE -fno-rtti -fno-exceptions )
187-
188168
# Setup arch devices
189169
set( r600--_devices cedar cypress barts cayman )
190170
set( amdgcn--_devices tahiti )

0 commit comments

Comments
 (0)