diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/FP16/FP16-2024.06.20.ebuild | 37 | ||||
-rw-r--r-- | dev-libs/FP16/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/FP16/files/FP16-2024.06.20-gentoo.patch | 21 | ||||
-rw-r--r-- | dev-libs/Manifest.gz | bin | 100507 -> 100503 bytes | |||
-rw-r--r-- | dev-libs/intel-metrics-discovery/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.170-revert-definitions.patch | 24 | ||||
-rw-r--r-- | dev-libs/opencl-clang/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/opencl-clang/files/opencl-clang-16.0.0-clang_library_dir.patch | 36 | ||||
-rw-r--r-- | dev-libs/opencl-clang/files/opencl-clang-16.0.0-cxx17.patch | 23 | ||||
-rw-r--r-- | dev-libs/opencl-clang/files/opencl-clang-16.0.0-llvm.patch | 105 | ||||
-rw-r--r-- | dev-libs/opencl-clang/files/opencl-clang-16.0.0-standalone-build.patch | 26 | ||||
-rw-r--r-- | dev-libs/spdlog/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/spdlog/files/spdlog-1.12.0-fix-tests.patch | 13 | ||||
-rw-r--r-- | dev-libs/yaz/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/yaz/yaz-5.34.2.ebuild | 71 |
15 files changed, 134 insertions, 233 deletions
diff --git a/dev-libs/FP16/FP16-2024.06.20.ebuild b/dev-libs/FP16/FP16-2024.06.20.ebuild new file mode 100644 index 000000000000..4658ceaebbff --- /dev/null +++ b/dev-libs/FP16/FP16-2024.06.20.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +CommitId=98b0a46bce017382a6351a19577ec43a715b6835 + +DESCRIPTION="conversion to/from half-precision floating point formats" +HOMEPAGE="https://github.com/Maratyszcza/FP16/" +SRC_URI="https://github.com/Maratyszcza/${PN}/archive/${CommitId}.tar.gz + -> ${P}.tar.gz" + +S="${WORKDIR}"/${PN}-${CommitId} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +BDEPEND="test? ( dev-cpp/gtest )" +RESTRICT="!test? ( test )" + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_prepare() { + sed -i -e "s|CXX_STANDARD 11|CXX_STANDARD 14|" CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DFP16_BUILD_BENCHMARKS=OFF + -DFP16_BUILD_TESTS=$(usex test ON OFF) + ) + cmake_src_configure +} diff --git a/dev-libs/FP16/Manifest b/dev-libs/FP16/Manifest index 0ac17d1b36e2..a1830ad185b7 100644 --- a/dev-libs/FP16/Manifest +++ b/dev-libs/FP16/Manifest @@ -1,4 +1,7 @@ AUX FP16-2021.03.20-gentoo.patch 1876 BLAKE2B 56863806f1040c5a92e04f7cf120e2ae4e4e6c59b336bf8734d0b0945e29d17afb5c244e94fab6023567227878b72e73d3c8d669e4af311bfc703f545b82d847 SHA512 0ac6379a5d92a70df72c4a0bce0d437ebb7733fa6f61b0006cedd007f9c071c2b7c9727cd559c39c08a8528f29c2d96397b566512eca6fa4c5a5d812085125cf +AUX FP16-2024.06.20-gentoo.patch 813 BLAKE2B 297a056cff5c35e26283c15ec7727c227f5991d3244426e1b197ea52bb2c5c897194efaed20a1929fc8bd0704fb70afc9f5fc0b84850bc43ca2dd2254a4447cc SHA512 4951377cfdc4806867e80f899e6e14d671d43bbe1f5be82343c5b73e246a7f4040470b6a96a76f1d9ae1bc8c899eb7936e11737f9c788ece70099d63b73bbc50 DIST FP16-2021.03.20.tar.gz 71228 BLAKE2B e598225032324ffe38db9002e8397e67a713b6323ac57408e7e39e146826b2bb1dab60cd75181a25b1b07958463e3913bbf0e53b23803e53d472fda66b8ba6d5 SHA512 3f094f242425ea37de274eb8539dc5f8ab0c13fd5325d14180ef12e9c04e6002a110d086c4c667f7c8054af337deab096d59482eb95cc8a632c3c412b48e89d1 +DIST FP16-2024.06.20.tar.gz 64704 BLAKE2B cd086ca7419aa004c0c4c840227e61612348efb98bdddbf68ef92959267f5f4b0aef55751c5b8a6f50a1f0e7f386e4df5fac273c3849961168e0a5c03faf81e2 SHA512 d3ae46b5b0c944f1d8dcfbb90689266f4abaff3e0b5ef338d5d79193367f06d1bfbb9ad85a5a7685a894daeee6dc73fc5d73631718be1379cc6918655a0289aa EBUILD FP16-2021.03.20-r4.ebuild 1177 BLAKE2B 2bc0c534f4ed966a0e65fa14162762eaf23cd315298a2d11da081e742a99a5823a9e61f978b29edc3766d6d4e2b9b66b74d19dc0dde22c8d03e1e954137eb282 SHA512 805f62b06d0e31b8b0e9c9d66596df1a646474f7d869c0f88e813698aa0a93a56be653b54b7dfc59105a90a9722fb03b5e4be64b207e079d0e681bf3df32a5ad +EBUILD FP16-2024.06.20.ebuild 827 BLAKE2B b8fefffe039f37420737e9291b7a0561bf3ea0bb5cc49a2454cf4898141f2cbcbad684685b22470eedaa704430bc57d81fb06dd1120281a75d1479e9541139bb SHA512 ee70f1d47472f0eee9b1775cf2bf809e780b05454ab9985e7606320a5fff9dfe2c2839bb5e50a78f9c42f7760524408f9b6cfb94be8870ade21d9cd110fd3283 MISC metadata.xml 329 BLAKE2B eda810b21ca05e2e16f2eafac194cdca189d27449bc9322488aeca215a9b2c10ce68145abab1abb984e290ab6ca8ce21c3beaf06ecd76d7574fd8b82388f4e63 SHA512 27ca59c0862f75f24dc64f9af5eee96cf63ef4bd468e17f5d04cc23289dbb5c44af9b230707ad13d1ff85e75db4d5485d7226c9e6d80e8bc80d9e6f3b2e18acd diff --git a/dev-libs/FP16/files/FP16-2024.06.20-gentoo.patch b/dev-libs/FP16/files/FP16-2024.06.20-gentoo.patch new file mode 100644 index 000000000000..c5ab4e046827 --- /dev/null +++ b/dev-libs/FP16/files/FP16-2024.06.20-gentoo.patch @@ -0,0 +1,21 @@ +--- a/CMakeLists.txt 2022-05-10 09:11:41.286417033 +0200 ++++ b/CMakeLists.txt 2022-05-10 09:12:48.647398387 +0200 +@@ -19,7 +19,7 @@ + ENDIF() + + # ---[ Download deps +-IF(FP16_BUILD_TESTS AND NOT DEFINED GOOGLETEST_SOURCE_DIR) ++IF(FALSE) + MESSAGE(STATUS "Downloading Google Test to ${CMAKE_BINARY_DIR}/googletest-source (define GOOGLETEST_SOURCE_DIR to avoid it)") + CONFIGURE_FILE(cmake/DownloadGoogleTest.cmake "${CMAKE_BINARY_DIR}/googletest-download/CMakeLists.txt") + EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" . +@@ -60,9 +60,6 @@ + # ---[ Build google test + IF(NOT TARGET gtest) + SET(gtest_force_shared_crt ON CACHE BOOL "" FORCE) +- ADD_SUBDIRECTORY( +- "${GOOGLETEST_SOURCE_DIR}" +- "${CMAKE_BINARY_DIR}/googletest") + ENDIF() + + # ---[ Build FP16 unit tests diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 44583f285c0c..4f087cbd25c4 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/intel-metrics-discovery/Manifest b/dev-libs/intel-metrics-discovery/Manifest index 643ffbfbbff8..614f21fc02fd 100644 --- a/dev-libs/intel-metrics-discovery/Manifest +++ b/dev-libs/intel-metrics-discovery/Manifest @@ -1,4 +1,3 @@ -AUX intel-metrics-discovery-1.12.170-revert-definitions.patch 1410 BLAKE2B af7ef84fd1181bc10ee890d87121e78559dcfb7b561334e6041b5c20b183d4ebfdd94e6b773e4c604284b5368708b312a23f878a0df7d0b32fad7f1dfdce7044 SHA512 2a66efe9b1f4d78cb053d4621d063ed7bcca061b677ca9a68f589096c4ae1c32c463dd5a598912afd690a96fc3c52aaa8cdc2e7f684870b939a43cd40507eea2 AUX intel-metrics-discovery-1.12.178-revert-definitions.patch 1538 BLAKE2B 66dba96f5b96758bf12ce4643281a77483db955ecebc87689a08e67a0e9e7c4ff12dc3c6aef1a20bb39714b7b38736404e27ccac273be0c3dd22812ce80b8af2 SHA512 d0920c54f2281d25175c8afef0140db8f82cd75a16e309257630ccc7e20f3979da98b24b7fabb4edee32c87f05cbb160dea84128b173e6314caadf79a51a4d77 DIST metrics-discovery-1.13.178.tar.gz 5398480 BLAKE2B f36a239318d7050f6abcb3cf9a9b12e9aea9b87a91a73dcd32f1d3d02addaf70f168fc8b17b19edcd2abfda2288170076237c9e8f9ce4c37cbb103b8faf68fd5 SHA512 d4fd142f23d06fff281106490d790eb81fe7cbf5fb4d2b57d796807aedaddb975a85d4c11880a867d6e60545eae106841cabbae6f80d9663f787b1aa3dd8af7d DIST metrics-discovery-1.13.179.tar.gz 5630041 BLAKE2B 0a7d44eb70550c0e68b6402e077c3ec3798cd7f50fb894d836d0d361398edc0886ca8114085c76313cfec3c72f041521174291cbe3dcdc42bef8d1001798efd3 SHA512 4e50c0c34f0d0b4470ede001d35ceebd838508e4125dd7e3572ad3d521affa15f20af4551c039f167c79b44a96a4f206aa122c8cbb030377b9584bf8ae9fb737 diff --git a/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.170-revert-definitions.patch b/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.170-revert-definitions.patch deleted file mode 100644 index e8d1d5821e46..000000000000 --- a/dev-libs/intel-metrics-discovery/files/intel-metrics-discovery-1.12.170-revert-definitions.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -443,7 +443,7 @@ - if ("${BUILD_TYPE}" STREQUAL "release") - add_definitions(-DNDEBUG) - # security compiler flags -- add_definitions(-O2 -D_FORTIFY_SOURCE=2 -Wformat) -+ add_definitions(-Wformat) - elseif ("${BUILD_TYPE}" STREQUAL "release-internal" OR - "${BUILD_TYPE}" STREQUAL "releaseinternal") - add_definitions(-D_RELEASE_INTERNAL) -@@ -467,12 +467,7 @@ - "${BUILD_TYPE}" STREQUAL "release-internal" OR - "${BUILD_TYPE}" STREQUAL "releaseinternal") - add_definitions(-Werror=format-security) # treat format string security warnings as errors -- add_definitions(-Werror) # treat warning as errors - add_definitions(-fvisibility=hidden) # to disable exporting internal symbols (by default gcc exports all symbols) -- add_definitions(-flto) # enables Link-Time Optimization (LTO) -- add_definitions(-fPIC) # generates position-independent code during the compilation phase -- add_definitions(-fPIE) # generates position-independent executables during the compilation phase -- add_definitions(-pie) # produces position-independent executables during the linking phase - elseif ("${BUILD_TYPE}" STREQUAL "debug") - add_definitions(-g) - endif () diff --git a/dev-libs/opencl-clang/Manifest b/dev-libs/opencl-clang/Manifest index 8c778e0945f1..8f35c7444456 100644 --- a/dev-libs/opencl-clang/Manifest +++ b/dev-libs/opencl-clang/Manifest @@ -1,7 +1,3 @@ -AUX opencl-clang-16.0.0-clang_library_dir.patch 1671 BLAKE2B 182983a930084518ebb6d792cea82bfe5794a5e3621b5b003e9fe7d60c5c14bba85bb5de5fb2ee9f13aa4e9b0fea1f17fdb7a7f78942299a7205891dc600f7a0 SHA512 ad8da56c9dc18c82a72aede3f46d2047ac7b49b5ce8a297a65a61fbb5dd692e1f93d77ef4808f34db99a59b3f70c1d957b658dd849b510458e0fddb101f0039f -AUX opencl-clang-16.0.0-cxx17.patch 727 BLAKE2B e5cfa0aa72e0322e1d5f4a062d88d92f163796ceab58c1d831b3a06d994d86bf565cc4cf79b53d90294c57b8c358e94c4f7b48294e759ed5fa2e65eee91906fa SHA512 4047bfa9a6e895ac5e9be5d19a625cd17ae01417f2c05b2ac34a91a1b671180c92855f909bd8f6e52037044f061567529c72cd87d5296e78ce30a3351fea5dd2 -AUX opencl-clang-16.0.0-llvm.patch 3615 BLAKE2B b0e67c65c7ccc9a0aea143d7aeea4be7025d8abdbb34c712ca1306107834b1cf41a4e4d4b65b03bff089afb69d122b735af6913592350ee96abf27982763abaf SHA512 c28103172a0dd72e6a4e94a119c5a8957e273d736ca05dedbf119bdf1860ee89745ad3c868d8400bc690e75c02971be417e432ee27d1629a1715b7d39a361cc2 -AUX opencl-clang-16.0.0-standalone-build.patch 967 BLAKE2B 35b0a40a6a2fe094711276b62ae53167560bd11ee6581a499568eaf8b2cf5e1a52aee30b5911604297c64e7262e55a07afc12a9dcc00862ecd0c2e1f9a982046 SHA512 9cba49fc8ccb12d38a5aaa9ee69c2425bdc069b2d2cd6d0157875157d67a3e1b5cedf3d7b3b081ca6012cedf7e60abb4ca205577f10dcff4f3a153758ddf520b AUX opencl-clang-16.0.1-clang_library_dir.patch 1244 BLAKE2B 270065573f1ad053a8af76e359a2b8d08bd2f646d23ffd244facdc378711d2c85e324fd99c778feb2385ae3953b684618e6141ee43bfd4eff649a6a2c0e2dd11 SHA512 1c9b213221f0d823d433eb528f5edda4cf77be73938ad311ec6497f8a4752b93d88b05b80b18c5d2dc64e1bf7e65c7aff49abd9769b1df3fa29caa70ea48bc74 AUX opencl-clang-17.0.0-clang_library_dir.patch 1064 BLAKE2B 3de8826f772a0dc759be0c01be98bd90a5fcd0dff0b0f2a74ad0b340130d6994f7a6af9737f6f5d0bd1c60866f22d30e43ae7ec61abc6a54cde554e44a9a5c05 SHA512 5fece38dd22c02a754f7b06f9ebaa483bd369a72ae2d7dabab58f79ad723708d06f5700a1afbe17b36ff2e667a6e5bf09f11b7d17f774b599a6c7d17b85fc32c AUX opencl-clang-8.0.0-clang_library_dir.patch 468 BLAKE2B 09315ce9250920caf8c84853a5cf08506b01d91f7c993273be910b38f9c97f1f31e1042d75a111734eaa86fad771bed5b09c6c9001e253c71f26bd7c1e668dcd SHA512 c5a715c05c7bc7b904a46cac8d6a10f161da6d978401c5c60853a19dfb63c65690994bdc57fe327ee36bb5b6151a0018d6931c38553917f2dc82e9cef44e0b0d diff --git a/dev-libs/opencl-clang/files/opencl-clang-16.0.0-clang_library_dir.patch b/dev-libs/opencl-clang/files/opencl-clang-16.0.0-clang_library_dir.patch deleted file mode 100644 index 227a7be30b50..000000000000 --- a/dev-libs/opencl-clang/files/opencl-clang-16.0.0-clang_library_dir.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 9f50367661bb6345bf7b18102f1e415378afda06 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <Zatloukal.Frantisek@gmail.com> -Date: Fri, 21 Apr 2023 04:08:11 +0200 -Subject: [PATCH] Support llvm headers in - ${CLANG_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}/ (#419) - -Fedora places llvm include files into that directory instead of assumed -${CLANG_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}/include/ - -Try both, fail horribly when none of them exist ---- - cl_headers/CMakeLists.txt | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -diff --git a/cl_headers/CMakeLists.txt b/cl_headers/CMakeLists.txt -index 86df76f..0223d52 100644 ---- a/cl_headers/CMakeLists.txt -+++ b/cl_headers/CMakeLists.txt -@@ -19,8 +19,15 @@ add_custom_command( - endfunction(copy_file) - - if(USE_PREBUILT_LLVM) -- set(OPENCL_HEADERS_DIR -- "${LLVM_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}/include/") -+ if(EXISTS "${CLANG_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}/") -+ set(OPENCL_HEADERS_DIR -+ "${CLANG_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}/include/") -+ elseif(EXISTS "${CLANG_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}/") -+ set(OPENCL_HEADERS_DIR -+ "${CLANG_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}/include/") -+ else() -+ message(FATAL_ERROR "[OPENCL-CLANG] Couldn't find prebuilt LLVM include directory.") -+ endif() - else(USE_PREBUILT_LLVM) - set(OPENCL_HEADERS_DIR "${CLANG_SOURCE_DIR}/lib/Headers") - endif(USE_PREBUILT_LLVM) diff --git a/dev-libs/opencl-clang/files/opencl-clang-16.0.0-cxx17.patch b/dev-libs/opencl-clang/files/opencl-clang-16.0.0-cxx17.patch deleted file mode 100644 index aa6c308630e8..000000000000 --- a/dev-libs/opencl-clang/files/opencl-clang-16.0.0-cxx17.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 5491ffa3fde5729074fe804023bd279c56684f77 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <Zatloukal.Frantisek@gmail.com> -Date: Mon, 24 Apr 2023 10:29:36 +0200 -Subject: [PATCH] Bump CMAKE_CXX_STANDARD to 17 (#416) - -Fixes build issues ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index dc471d8..a7d1927 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -58,7 +58,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) - ${CMAKE_MODULE_PATH} - ${LLVM_CMAKE_DIR}) - -- set(CMAKE_CXX_STANDARD 14) -+ set(CMAKE_CXX_STANDARD 17) - set(CMAKE_CXX_STANDARD_REQUIRED ON) - - option(LLVMSPIRV_INCLUDED_IN_LLVM diff --git a/dev-libs/opencl-clang/files/opencl-clang-16.0.0-llvm.patch b/dev-libs/opencl-clang/files/opencl-clang-16.0.0-llvm.patch deleted file mode 100644 index 659a2b90bf6c..000000000000 --- a/dev-libs/opencl-clang/files/opencl-clang-16.0.0-llvm.patch +++ /dev/null @@ -1,105 +0,0 @@ -commit e047ae6bb9cef488781e0b06c5ae9018bacb24c4 -Author: Wenju He <wenju.he@intel.com> -Date: Thu May 18 16:01:52 2023 +0800 - - Revert to use add_llvm_library and revert linking LLVM libraries (#438) - - Add cmake option EXCLUDE_LIBS_FROM_ALL to remove a specific llvm library - from llvm 'all'. - - This PR partially reverts 743bd15. - This PR addresses #401, #417, #418, #422, and brings back SONAME. - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a7d1927..be4fefd 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -298,21 +298,23 @@ else() - ) - endif() - --add_library(${TARGET_NAME} SHARED -- ${TARGET_INCLUDE_FILES} -- ${TARGET_SOURCE_FILES} -- $<TARGET_OBJECTS:cl_headers> --) -- --# Same CRT compile option are reqiured to avoid link errors on Windows. --# MD and MDd are choosed by default for release and debug build in LLVM. --# If users set MT or MTd flags, they also need to add the flags for --# opencl-clang sources using a custom macro set_msvc_crt_flags. --if(COMMAND set_msvc_crt_flags) -- set_msvc_crt_flags(${TARGET_NAME}) -+set(EXCLUDE_LIBS_FROM_ALL "" CACHE STRING "Space-separated list of LLVM libraries to exclude from all") -+llvm_map_components_to_libnames(ALL_LLVM_LIBS all) -+if (NOT "${EXCLUDE_LIBS_FROM_ALL}" STREQUAL "") -+ list(REMOVE_ITEM ALL_LLVM_LIBS ${EXCLUDE_LIBS_FROM_ALL}) - endif() -+list(APPEND OPENCL_CLANG_LINK_LIBS ${ALL_LLVM_LIBS}) -+ -+add_llvm_library(${TARGET_NAME} SHARED -+ ${TARGET_INCLUDE_FILES} -+ ${TARGET_SOURCE_FILES} -+ $<TARGET_OBJECTS:cl_headers> - --add_dependencies(${TARGET_NAME} CClangCompileOptions) -+ DEPENDS CClangCompileOptions -+ -+ LINK_LIBS -+ ${OPENCL_CLANG_LINK_LIBS} -+ ) - - if (WIN32) - # Enable compiler generation of Control Flow Guard security checks. -@@ -328,51 +330,6 @@ elseif(UNIX) - LINK_FLAGS " -Wl,--no-undefined") - endif(WIN32) - --# Enable new IN_LIST operator. --cmake_policy(SET CMP0057 NEW) --set(OTHER_LIBRARIES) --if ("NVPTX" IN_LIST LLVM_TARGETS_TO_BUILD) -- list(APPEND OTHER_LIBRARIES LLVMNVPTXCodeGen LLVMNVPTXDesc LLVMNVPTXInfo) --endif() --if ("AMDGPU" IN_LIST LLVM_TARGETS_TO_BUILD) -- list(APPEND OTHER_LIBRARIES LLVMAMDGPUCodeGen LLVMAMDGPUAsmParser LLVMAMDGPUDesc LLVMAMDGPUInfo) --endif() -- --target_link_libraries( ${TARGET_NAME} -- LINK_PRIVATE -- ${OPENCL_CLANG_LINK_LIBS} -- LLVMX86CodeGen -- LLVMX86AsmParser -- LLVMX86Desc -- LLVMX86Info -- LLVMX86Disassembler -- LLVMAnalysis -- LLVMCodeGen -- LLVMCore -- LLVMipo -- LLVMInstCombine -- LLVMInstrumentation -- LLVMMC -- LLVMMCParser -- LLVMObjCARCOpts -- LLVMOption -- LLVMScalarOpts -- LLVMSupport -- LLVMTransformUtils -- LLVMVectorize -- LLVMAsmPrinter -- LLVMSelectionDAG -- LLVMMCDisassembler -- LLVMProfileData -- LLVMObject -- LLVMBitWriter -- LLVMIRReader -- LLVMAsmParser -- LLVMTarget -- LLVMBitReader -- ${OTHER_LIBRARIES} -- ) -- - install(FILES opencl_clang.h - DESTINATION include/cclang - COMPONENT ${TARGET_NAME}) diff --git a/dev-libs/opencl-clang/files/opencl-clang-16.0.0-standalone-build.patch b/dev-libs/opencl-clang/files/opencl-clang-16.0.0-standalone-build.patch deleted file mode 100644 index a85ec58df401..000000000000 --- a/dev-libs/opencl-clang/files/opencl-clang-16.0.0-standalone-build.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 529a9188114bcbd8ed753d2276942384fa50d7a1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <Zatloukal.Frantisek@gmail.com> -Date: Fri, 21 Apr 2023 04:07:21 +0200 -Subject: [PATCH] Fix standalone build (#415) - -Fixes https://github.com/intel/opencl-clang/issues/406 -Fixes https://github.com/intel/opencl-clang/issues/374 ---- - cl_headers/CMakeLists.txt | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/cl_headers/CMakeLists.txt b/cl_headers/CMakeLists.txt -index 788adff..86df76f 100644 ---- a/cl_headers/CMakeLists.txt -+++ b/cl_headers/CMakeLists.txt -@@ -1,5 +1,9 @@ - set(CL_HEADERS_LIB cl_headers) --set(CLANG_COMMAND $<TARGET_FILE:clang> ) -+if(USE_PREBUILT_LLVM) -+ find_program(CLANG_COMMAND clang PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH) -+else() -+ set(CLANG_COMMAND $<TARGET_FILE:clang>) -+endif() - if(LLVM_USE_HOST_TOOLS AND NOT OPENCL_CLANG_BUILD_EXTERNAL) - build_native_tool(clang CLANG_COMMAND) - endif() diff --git a/dev-libs/spdlog/Manifest b/dev-libs/spdlog/Manifest index acd7f98ad275..acf7c1f3de89 100644 --- a/dev-libs/spdlog/Manifest +++ b/dev-libs/spdlog/Manifest @@ -1,4 +1,3 @@ -AUX spdlog-1.12.0-fix-tests.patch 554 BLAKE2B 233cadf694bbfea4aa538d3b1f5241682aaa74fccbcce94441180f5ce3374332ac77ae6c08461a118861924d84056d2075fcd8fcc7beccc81e41b1101909e223 SHA512 b78640666c940ac49f0db375544c22b6778a8e2c38208530c7a8b2fb7ed70526a212efc49a94f3498b82f9681039e97c304f956010c16913ca052369dbe56935 AUX spdlog-1.15.0-libfmt-11.1.0.patch 1151 BLAKE2B f6d23df7a3f24d44cc4db0926a04c9dde1efc3c67d9f14f76ddb675f71fb0ac585d4a2ee3d513516e9fd25f7bc672aed06328a7cc5d9aa2dae319e267fa81d60 SHA512 61f43cdd72544c6f694226cd37d4bf56478234d4a6539536ce97aa371c3adea8012e8a4a3d66eb3435761cccbb8cbbef2872ca4214388df2d645265f04078043 AUX spdlog-force_external_fmt.patch 539 BLAKE2B 326f40d3d496e7373a77476d5aba237d8ad7828e5d21ccfc1e4183a74e3f7f2df1f61a2188a5cf0dc4c08ef9692c5de4a4589fae75c1daa4a9987d4be3f168f6 SHA512 257c7f7f56e66b88a16238a2c81887f2d5ba9692c18bf5fc371b95f44936018ec7c4a0abd0e54f38cb6a7957f82a1b95af9d238fa7fa16631f0be1980d76f692 DIST spdlog-1.13.0.tar.gz 264003 BLAKE2B 8ffeec847f082a0932f406ab44b4653661fdbe95a15f7b736367ee6d8f45ab36ca2182a9e9c6fba5c0688ab5436c16932b130541a8532cc2e5f4980e6340b929 SHA512 44fcb414ad9fbbe2a6d72c29143eeeae477b687ed30ae870d661b032a029ad4214ef43e7ef6350d02791d05504492978ade2d6733fab12ce4884d8f0bc4c6340 diff --git a/dev-libs/spdlog/files/spdlog-1.12.0-fix-tests.patch b/dev-libs/spdlog/files/spdlog-1.12.0-fix-tests.patch deleted file mode 100644 index 8ad33f4fc8d0..000000000000 --- a/dev-libs/spdlog/files/spdlog-1.12.0-fix-tests.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/tests/test_misc.cpp b/tests/test_misc.cpp -index 9f3cb1744..6199641ff 100644 ---- a/tests/test_misc.cpp -+++ b/tests/test_misc.cpp -@@ -43,7 +43,7 @@ TEST_CASE("log_levels", "[log_levels]") - REQUIRE(log_info("Hello", spdlog::level::trace) == "Hello"); - } - --TEST_CASE("level_to_string_view", "[convert_to_string_view") -+TEST_CASE("level_to_string_view", "[convert_to_string_view]") - { - REQUIRE(spdlog::level::to_string_view(spdlog::level::trace) == "trace"); - REQUIRE(spdlog::level::to_string_view(spdlog::level::debug) == "debug"); diff --git a/dev-libs/yaz/Manifest b/dev-libs/yaz/Manifest index 238b6882d27a..1ac31a4236e2 100644 --- a/dev-libs/yaz/Manifest +++ b/dev-libs/yaz/Manifest @@ -1,5 +1,7 @@ AUX yaz-5.34.0-fix-atoi-header.patch 1288 BLAKE2B 2ca0a3045ea5f15ecb90bdf277c02732f7d40ebc109a5af8dcd801b2c7419cf463c78cdb5d1788fd320bed1cb2e773f48f9cf9ee5fde50b004483704866ce898 SHA512 948a0d715422edb35bd9a6dd9c953769362c83b9f251bb615f8423fd65142ebe4cffef21b13d8f4b815b57d6d4534116a40a4941f1c446aee0af23beadba1ed6 AUX yaz-5.34.0-fix-libxml2-2.12.patch 2284 BLAKE2B 6d0b9ed696570ce3cf4d2cdf032646ba5e2be3f74ef8659507831e8a787f62f0a613971a2c7a0827df78832f90f3b66e52a7a6db254d6269b3df3ea3ac804963 SHA512 4301be54f021e056786a7fa01db02b3cc0c902d0411bdb02e3c79b2ca2c2c0fa1c2862259c7eae886c0803ad61b439539363efc2a701bc7a99d2050ff9b0621e DIST yaz-5.34.0.tar.gz 2656382 BLAKE2B 7a16974dc815c1121aaea4179843a6982600a0491c8c95a03f28cf0c68725b986ebc39049e2159cd0d105b23811d35ae3d3538a83e945b64951cc9215efe7f3d SHA512 0c835b98b4640e077459c9ead8043cea941a75f39dace9501efbb56c38837b1525349b8668c135ac0753ba7a4803e38d9c90d7bf3f6f2951c0e7e863b4c51f65 +DIST yaz-5.34.2.tar.gz 2601365 BLAKE2B 525197c4c10e3a41fb0b050a78f00a8122de844a5c7e53d115a079c0ec16144312e7861b048c31cecf00cac900d8fc7dffd98e2ac18c6b046ac9ae521c7d60aa SHA512 8fd22b97cf46c7db8083198ad67745f4b99b303253b669e28f8c509fe3fee223de64d79a7b0a5d9318637b65d056129ca220e3ecbfc7ad392ef634c87543a16b EBUILD yaz-5.34.0.ebuild 1742 BLAKE2B 57539468cf3e27ed0ba9627446e388cff8531135fc19400d5273e8d3a3b6f73dff74b03d230dcfaabe9a0c4c92f2bfa1fe76d47f3f4c655321ea20252d93a8be SHA512 26852b8255ae0b268f99ccf532a899124352fbe10f09d775cc7b653c69bc3cdd713cd01de4851479514a75755b0450724438d18abbcbadbfa3bc6e61784caf0a +EBUILD yaz-5.34.2.ebuild 1636 BLAKE2B 912c3030d00db4055bdeadf1b035907f56da8c422876c7389e15298df26d351586f83f1d3a7fe47b22a127cf1908ada613f9c5d37fe016dad504141aeb1c2dbd SHA512 1af47545bd9f7ddcf35cba85c620878c4ccab40cc15c45edefc0e0d5858d971cc22b9072239f07fb22db0a6a57df93b2915b01cd11a96d0512ce0d8d0a53cc07 MISC metadata.xml 347 BLAKE2B 19555e3c2c7609fe2af5c064fbfe51a27dd44a512a33b53d8968e1a5824da8cb39df6b0507a6cef8364275b7f78abfef25f929139a7662efc841364917c81dc1 SHA512 7239ce6a2a684a53a4e1769e08bc86650798c772e2b95da476e96f189646a5fd8bf4d46d655eb9c3796a7784efd20ed64d4ef3daf287772518ba8f91a4c6719b diff --git a/dev-libs/yaz/yaz-5.34.2.ebuild b/dev-libs/yaz/yaz-5.34.2.ebuild new file mode 100644 index 000000000000..bd0af16636d5 --- /dev/null +++ b/dev-libs/yaz/yaz-5.34.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="C/C++ toolkit for Z39.50v3 clients and servers" +HOMEPAGE="https://www.indexdata.com/resources/software/yaz/" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/indexdata/yaz.git" +else + SRC_URI="https://ftp.indexdata.com/pub/${PN}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +LICENSE="BSD GPL-2" +SLOT="0/5" +IUSE="gnutls tcpd ziffy" + +RDEPEND=" + dev-libs/icu:= + dev-libs/libxml2 + dev-libs/libxslt + sys-libs/readline:= + sys-libs/ncurses:= + virtual/libintl + !gnutls? ( dev-libs/openssl:0= ) + gnutls? ( net-libs/gnutls:= ) + tcpd? ( sys-apps/tcp-wrappers ) + ziffy? ( net-libs/libpcap ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-lang/tcl:0 + app-alternatives/yacc + >=dev-build/libtool-2 + virtual/pkgconfig +" + +src_prepare() { + default + + # Hardcoded assumption of libraries residing in lib/, bug #730016 + sed -i -e "s|/lib\"|/$(get_libdir)\"|" configure.ac || die + + eautoreconf +} + +src_configure() { + econf \ + --enable-shared \ + $(use_with gnutls) \ + $(use_enable tcpd tcpd /usr) +} + +src_install() { + local docdir="/usr/share/doc/${PF}" + emake DESTDIR="${D}" docdir="${EPREFIX}/${docdir}" install + + find "${D}" -name '*.la' -delete || die + + dodir "${docdir}"/html + mv -f "${ED}"/${docdir}/*.{html,png} "${ED}"/${docdir}/html/ || die "Failed to move HTML docs" + mv -f "${ED}"/usr/share/doc/${PN}/common "${ED}"/${docdir}/html/ || die "Failed to move HTML docs" + rm -rf "${ED}"/usr/share/doc/${PN} || die + + dodoc ChangeLog NEWS +} |