mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/ispc: remove unused patches
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/33450 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
196685c68a
commit
69f2faa2b9
@@ -1,16 +0,0 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -530,11 +530,8 @@ else()
|
||||
else()
|
||||
find_package(Curses REQUIRED)
|
||||
find_package(ZLIB REQUIRED)
|
||||
- if (CURSES_EXTRA_LIBRARY)
|
||||
- # this contains the tinfo library, if found
|
||||
- target_link_libraries(${PROJECT_NAME} ${CURSES_EXTRA_LIBRARY})
|
||||
- endif()
|
||||
- target_link_libraries(${PROJECT_NAME} pthread ${ZLIB_LIBRARIES} ${CURSES_CURSES_LIBRARY})
|
||||
+ set(CURSES_NEED_NCURSES ON)
|
||||
+ target_link_libraries(${PROJECT_NAME} pthread ${ZLIB_LIBRARIES} ${CURSES_LIBRARIES})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 13e66268..27ff8364 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -218,7 +218,7 @@ if (WASM_ENABLED)
|
||||
list(APPEND ISPC_TARGETS wasm-i32x4)
|
||||
endif()
|
||||
|
||||
-set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
|
||||
+set(CLANG_LIBRARY_LIST clang clang-cpp)
|
||||
set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker option frontendopenmp)
|
||||
|
||||
if (X86_ENABLED)
|
||||
@@ -402,11 +402,8 @@ if (ISPC_USE_ASAN)
|
||||
endif()
|
||||
|
||||
# Link against Clang libraries
|
||||
-foreach(clangLib ${CLANG_LIBRARY_LIST})
|
||||
- find_library(${clangLib}Path NAMES ${clangLib} HINTS ${LLVM_LIBRARY_DIRS})
|
||||
- list(APPEND CLANG_LIBRARY_FULL_PATH_LIST ${${clangLib}Path})
|
||||
-endforeach()
|
||||
-target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_FULL_PATH_LIST})
|
||||
+find_package(Clang REQUIRED)
|
||||
+target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST})
|
||||
|
||||
# Link against LLVM libraries
|
||||
target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST})
|
||||
diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp
|
||||
index 06fab989..57a7130f 100644
|
||||
--- a/src/llvmutil.cpp
|
||||
+++ b/src/llvmutil.cpp
|
||||
@@ -42,6 +42,7 @@
|
||||
#include <llvm/IR/BasicBlock.h>
|
||||
#include <llvm/IR/Instructions.h>
|
||||
#include <llvm/IR/Module.h>
|
||||
+#include <llvm/Support/raw_ostream.h>
|
||||
|
||||
#ifdef ISPC_GENX_ENABLED
|
||||
#include <llvm/GenXIntrinsics/GenXIntrinsics.h>
|
||||
Reference in New Issue
Block a user