From 39c32f4d5dca9f6293fccb69e9d50baf494c8de4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 12 Dec 2024 02:01:24 +0000 Subject: gentoo auto-resync : 12:12:2024 - 02:01:23 --- sci-libs/Manifest.gz | Bin 43145 -> 43149 bytes sci-libs/caffe2/Manifest | 2 +- sci-libs/caffe2/caffe2-2.5.1-r5.ebuild | 321 --------------------------- sci-libs/caffe2/caffe2-2.5.1-r6.ebuild | 321 +++++++++++++++++++++++++++ sci-libs/fplll/Manifest | 2 + sci-libs/fplll/fplll-5.5.0.ebuild | 29 +++ sci-libs/hipBLASLt/Manifest | 2 +- sci-libs/hipBLASLt/hipBLASLt-6.1.1-r1.ebuild | 2 +- sci-libs/mkl/Manifest | 8 +- sci-libs/mkl/mkl-2020.4.304.ebuild | 2 +- sci-libs/mkl/mkl-2022.2.1.16993-r1.ebuild | 2 +- sci-libs/mkl/mkl-2023.0.0.25398.ebuild | 2 +- sci-libs/mkl/mkl-2023.1.0.46342.ebuild | 2 +- sci-libs/rocBLAS/Manifest | 8 +- sci-libs/rocBLAS/rocBLAS-5.1.3-r4.ebuild | 4 +- sci-libs/rocBLAS/rocBLAS-5.4.2-r3.ebuild | 4 +- sci-libs/rocBLAS/rocBLAS-5.7.1-r2.ebuild | 4 +- sci-libs/rocBLAS/rocBLAS-6.1.1-r1.ebuild | 4 +- sci-libs/rocFFT/Manifest | 6 +- sci-libs/rocFFT/rocFFT-5.1.3-r1.ebuild | 2 +- sci-libs/rocFFT/rocFFT-5.7.1-r2.ebuild | 2 +- sci-libs/rocFFT/rocFFT-6.1.1.ebuild | 2 +- sci-libs/symengine/Manifest | 4 +- sci-libs/symengine/symengine-0.11.1.ebuild | 2 +- sci-libs/symengine/symengine-0.12.0.ebuild | 2 +- 25 files changed, 385 insertions(+), 354 deletions(-) delete mode 100644 sci-libs/caffe2/caffe2-2.5.1-r5.ebuild create mode 100644 sci-libs/caffe2/caffe2-2.5.1-r6.ebuild create mode 100644 sci-libs/fplll/fplll-5.5.0.ebuild (limited to 'sci-libs') diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz index 043c223c6bba..c1fbbd0ed3b4 100644 Binary files a/sci-libs/Manifest.gz and b/sci-libs/Manifest.gz differ diff --git a/sci-libs/caffe2/Manifest b/sci-libs/caffe2/Manifest index 1eb44df131b8..011d2d908e4c 100644 --- a/sci-libs/caffe2/Manifest +++ b/sci-libs/caffe2/Manifest @@ -16,5 +16,5 @@ DIST pytorch-2.4.1.tar.gz 115029469 BLAKE2B c2909ff27d527bc57cba56b780d3b8cd07a0 DIST pytorch-2.5.1.tar.gz 116091366 BLAKE2B 7838b17562b94ffc7d798031348689db607dd5eae2a3c35be365972e2b52a2c1b12067068d5aca5ab00cf0977d9c2c3c9ae5337d69534c864c732e6256cbeef6 SHA512 a913a466324a65fa3d79c5e9ad4d605fc7976f0134fda2f81aaa3cea29d56926604999b8a238759646d211e63b47bbb446cdffa86ca8defd8159f11e30301289 EBUILD caffe2-2.4.0-r1.ebuild 8334 BLAKE2B d867632884fad33fb7c19344574ce30e70651474650b2f5a6e79576a7338e501989bc4628c1a04f2b2ebf3a611226df68892abdabf856ab74e67df85db74a9f0 SHA512 52e8c0e3535a1a8b90cce9143f4ff8da398de9119d2f23ffeeb0a419dadc29dae68f5e993b1a854066f63ed4809a41a98f098447e318252ff316e70fc6498b32 EBUILD caffe2-2.4.1-r4.ebuild 8557 BLAKE2B 2cefd7d0c818fb431b3eb6bc2be0a1b225790271b1108169256f8dccac99707fac3d36dc98b7e19a688c66053627d0a222d67e7f65eb6a600ed251677df5490a SHA512 ded17bc1e912f4691bfeee75c66676d331d03c21fe9c9c7416c874ef435e624bdc6109c128f0b5dbe9a5a5be81e648767c6020cd570b94e74f47061e5839f9b3 -EBUILD caffe2-2.5.1-r5.ebuild 8560 BLAKE2B 44dd033db92d6c2ba8f14e81423c0edcd54fa2e96bc3060626bbcd623b4e03ad942861779ee113eec0f56962f3d9cfe60b479f5023de54a5c3f88560dd9a4db7 SHA512 952bec6d94e235f9915b875950cd1f170ed5a259d41ff58ccc827c2ebfedfecb943bf230795a4f02536547f8b48c7b1869e66680479d4dc9569e09719914a2c7 +EBUILD caffe2-2.5.1-r6.ebuild 8566 BLAKE2B d3e7f873f62875fb999fc2474e8af71ffd7a86d7d89ab61849403f34c3cfda0e1485ed6129aedfb2a750c63a5d33c5b06c159918061ff3abae19f27d16ce55f1 SHA512 f3fc9d397a13cb75966cd5d57e9028463c98c1d1b5be4c3cf56bfa8c6aa5265d87cc1c3cf756e8d3c4cd9faf5d0409c68b4773316950dc906c5e7de38f038cbf MISC metadata.xml 1081 BLAKE2B 57800165612fd555263cab4cf0bb0521acd7d41f0023da501a50ccc5a479d25ad7087661a6eec500333c3cf9cc3a85d7be8e9385869c14d92f351d8d9df68556 SHA512 71cc785a5b1688b6a0ac971d31d5fa85bef86966aa80009c34e97caa385c81a7c2fb64ae34d0a39c21548d8238efd008da24bd838a47886bfa3f0d952246b76e diff --git a/sci-libs/caffe2/caffe2-2.5.1-r5.ebuild b/sci-libs/caffe2/caffe2-2.5.1-r5.ebuild deleted file mode 100644 index 8f23871b42b1..000000000000 --- a/sci-libs/caffe2/caffe2-2.5.1-r5.ebuild +++ /dev/null @@ -1,321 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -ROCM_VERSION=6.1 -inherit python-single-r1 cmake cuda flag-o-matic prefix rocm toolchain-funcs - -MYPN=pytorch -MYP=${MYPN}-${PV} - -DESCRIPTION="A deep learning framework" -HOMEPAGE="https://pytorch.org/" -SRC_URI="https://github.com/pytorch/${MYPN}/archive/refs/tags/v${PV}.tar.gz - -> ${MYP}.tar.gz" - -S="${WORKDIR}"/${MYP} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="cuda distributed fbgemm flash gloo mkl mpi nnpack +numpy onednn openblas opencl openmp qnnpack rocm xnnpack" -RESTRICT="test" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - mpi? ( distributed ) - gloo? ( distributed ) - ?? ( cuda rocm ) - rocm? ( - || ( ${ROCM_REQUIRED_USE} ) - !flash - ) -" - -RDEPEND=" - ${PYTHON_DEPS} - dev-cpp/abseil-cpp:= - dev-cpp/gflags:= - >=dev-cpp/glog-0.5.0 - dev-cpp/nlohmann_json - dev-cpp/opentelemetry-cpp - dev-libs/cpuinfo - dev-libs/libfmt - dev-libs/protobuf:= - dev-libs/pthreadpool - dev-libs/sleef - virtual/lapack - sci-libs/onnx - sci-libs/foxi - cuda? ( - dev-libs/cudnn - >=dev-libs/cudnn-frontend-1.0.3:0/8 - dev-util/nvidia-cuda-toolkit:=[profiler] - ) - fbgemm? ( >=dev-libs/FBGEMM-2023.12.01 ) - gloo? ( sci-libs/gloo[cuda?] ) - mpi? ( virtual/mpi ) - nnpack? ( sci-libs/NNPACK ) - numpy? ( $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ') ) - onednn? ( dev-libs/oneDNN ) - opencl? ( virtual/opencl ) - qnnpack? ( - !sci-libs/QNNPACK - dev-cpp/gemmlowp - ) - rocm? ( - =dev-util/hip-6.1* - =dev-libs/rccl-6.1*[${ROCM_USEDEP}] - =sci-libs/rocThrust-6.1*[${ROCM_USEDEP}] - =sci-libs/rocPRIM-6.1*[${ROCM_USEDEP}] - =sci-libs/hipBLAS-6.1*[${ROCM_USEDEP}] - =sci-libs/hipFFT-6.1*[${ROCM_USEDEP}] - =sci-libs/hipSPARSE-6.1*[${ROCM_USEDEP}] - =sci-libs/hipRAND-6.1*[${ROCM_USEDEP}] - =sci-libs/hipCUB-6.1*[${ROCM_USEDEP}] - =sci-libs/hipSOLVER-6.1*[${ROCM_USEDEP}] - =sci-libs/miopen-6.1*[${ROCM_USEDEP}] - =dev-util/roctracer-6.1*[${ROCM_USEDEP}] - - =sci-libs/hipBLASLt-6.1* - amdgpu_targets_gfx90a? ( =sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx90a] ) - amdgpu_targets_gfx940? ( =sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx940] ) - amdgpu_targets_gfx941? ( =sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx941] ) - amdgpu_targets_gfx942? ( =sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx942] ) - ) - distributed? ( - sci-libs/tensorpipe[cuda?] - dev-cpp/cpp-httplib - ) - xnnpack? ( >=sci-libs/XNNPACK-2024.02.29 ) - mkl? ( sci-libs/mkl ) - openblas? ( sci-libs/openblas ) -" - -DEPEND=" - ${RDEPEND} - cuda? ( <=dev-libs/cutlass-3.4.1 ) - onednn? ( sci-libs/ideep ) - dev-libs/psimd - dev-libs/FP16 - dev-libs/FXdiv - dev-libs/pocketfft - dev-libs/flatbuffers - >=sci-libs/kineto-0.4.0_p20240525 - $(python_gen_cond_dep ' - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/pybind11[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - ') -" - -PATCHES=( - "${FILESDIR}"/${P}-unbundle_fmt.patch - "${FILESDIR}"/${P}-unbundle_kineto.patch - "${FILESDIR}"/${P}-cudnn_include_fix.patch - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${PN}-2.4.0-cpp-httplib.patch - "${FILESDIR}"/${P}-glog-0.6.0.patch - "${FILESDIR}"/${P}-newfix-functorch-install.patch -) - -src_prepare() { - filter-lto #bug 862672 - - # Unbundle fmt - sed -i \ - -e 's|::fmt-header-only||' \ - c10/CMakeLists.txt \ - cmake/Dependencies.cmake \ - torch/CMakeLists.txt \ - || die - - # Drop third_party from CMake tree - sed -i \ - -e '/add_subdirectory.*third_party/d' \ - CMakeLists.txt \ - cmake/Dependencies.cmake \ - cmake/ProtoBuf.cmake \ - aten/src/ATen/CMakeLists.txt \ - || die - - cmake_src_prepare - pushd torch/csrc/jit/serialization || die - flatc --cpp --gen-mutable --scoped-enums mobile_bytecode.fbs || die - popd - - # prefixify the hardcoded paths, after all patches are applied - hprefixify \ - aten/CMakeLists.txt \ - caffe2/CMakeLists.txt \ - cmake/Metal.cmake \ - cmake/Modules/*.cmake \ - cmake/Modules_CUDA_fix/FindCUDNN.cmake \ - cmake/Modules_CUDA_fix/upstream/FindCUDA/make2cmake.cmake \ - cmake/Modules_CUDA_fix/upstream/FindPackageHandleStandardArgs.cmake \ - cmake/public/LoadHIP.cmake \ - cmake/public/cuda.cmake \ - cmake/Dependencies.cmake \ - torch/CMakeLists.txt \ - CMakeLists.txt - - if use rocm; then - sed -e "s:/opt/rocm:/usr:" \ - -e "s:lib/cmake:$(get_libdir)/cmake:g" \ - -e "s/HIP 1.0/HIP 1.0 REQUIRED/" \ - -i cmake/public/LoadHIP.cmake || die - - ebegin "HIPifying cuda sources" - ${EPYTHON} tools/amd_build/build_amd.py || die - eend $? - fi -} - -src_configure() { - if use cuda && [[ -z ${TORCH_CUDA_ARCH_LIST} ]]; then - ewarn "WARNING: caffe2 is being built with its default CUDA compute capabilities: 3.5 and 7.0." - ewarn "These may not be optimal for your GPU." - ewarn "" - ewarn "To configure caffe2 with the CUDA compute capability that is optimal for your GPU," - ewarn "set TORCH_CUDA_ARCH_LIST in your make.conf, and re-emerge caffe2." - ewarn "For example, to use CUDA capability 7.5 & 3.5, add: TORCH_CUDA_ARCH_LIST=7.5 3.5" - ewarn "For a Maxwell model GPU, an example value would be: TORCH_CUDA_ARCH_LIST=Maxwell" - ewarn "" - ewarn "You can look up your GPU's CUDA compute capability at https://developer.nvidia.com/cuda-gpus" - ewarn "or by running /opt/cuda/extras/demo_suite/deviceQuery | grep 'CUDA Capability'" - fi - - local mycmakeargs=( - -DBUILD_CUSTOM_PROTOBUF=OFF - -DLIBSHM_INSTALL_LIB_SUBDIR="${EPREFIX}"/usr/$(get_libdir) - -DPython_EXECUTABLE="${PYTHON}" - -DTORCH_INSTALL_LIB_DIR="${EPREFIX}"/usr/$(get_libdir) - -DUSE_CCACHE=OFF - -DUSE_CUDA=$(usex cuda) - -DUSE_DISTRIBUTED=$(usex distributed) - -DUSE_FAKELOWP=OFF - -DUSE_FBGEMM=$(usex fbgemm) - -DUSE_FLASH_ATTENTION=$(usex flash) - -DUSE_GFLAGS=ON - -DUSE_GLOG=ON - -DUSE_GLOO=$(usex gloo) - -DUSE_ITT=OFF - -DUSE_KINETO=OFF # TODO - -DUSE_MAGMA=OFF # TODO: In GURU as sci-libs/magma - -DUSE_MEM_EFF_ATTENTION=OFF - -DUSE_MKLDNN=$(usex onednn) - -DUSE_MPI=$(usex mpi) - -DUSE_NCCL=OFF - -DUSE_NNPACK=$(usex nnpack) - -DUSE_NUMA=OFF - -DUSE_NUMPY=$(usex numpy) - -DUSE_OPENCL=$(usex opencl) - -DUSE_OPENMP=$(usex openmp) - -DUSE_PYTORCH_QNNPACK=$(usex qnnpack) - -DUSE_PYTORCH_METAL=OFF - -DUSE_ROCM=$(usex rocm) - -DUSE_SYSTEM_CPUINFO=ON - -DUSE_SYSTEM_EIGEN_INSTALL=ON - -DUSE_SYSTEM_FP16=ON - -DUSE_SYSTEM_FXDIV=ON - -DUSE_SYSTEM_GLOO=ON - -DUSE_SYSTEM_ONNX=ON - -DUSE_SYSTEM_PSIMD=ON - -DUSE_SYSTEM_PSIMD=ON - -DUSE_SYSTEM_PTHREADPOOL=ON - -DUSE_SYSTEM_PYBIND11=ON - -DUSE_SYSTEM_SLEEF=ON - -DUSE_SYSTEM_XNNPACK=$(usex xnnpack) - -DUSE_TENSORPIPE=$(usex distributed) - -DUSE_UCC=OFF - -DUSE_VALGRIND=OFF - -DUSE_XNNPACK=$(usex xnnpack) - -DUSE_XPU=OFF - -Wno-dev - ) - - if use mkl; then - mycmakeargs+=(-DBLAS=MKL) - elif use openblas; then - mycmakeargs+=(-DBLAS=OpenBLAS) - else - mycmakeargs+=(-DBLAS=Generic -DBLAS_LIBRARIES=) - fi - - if use cuda; then - addpredict "/dev/nvidiactl" # bug 867706 - addpredict "/dev/char" - addpredict "/proc/self/task" # bug 926116 - - mycmakeargs+=( - -DUSE_CUDNN=ON - -DTORCH_CUDA_ARCH_LIST="${TORCH_CUDA_ARCH_LIST:-3.5 7.0}" - -DUSE_NCCL=OFF # TODO: NVIDIA Collective Communication Library - -DCMAKE_CUDA_FLAGS="$(cuda_gccdir -f | tr -d \")" - ) - elif use rocm; then - export PYTORCH_ROCM_ARCH="$(get_amdgpu_flags)" - - mycmakeargs+=( - -DUSE_NCCL=ON - -DUSE_SYSTEM_NCCL=ON - ) - - # ROCm libraries produce too much warnings - append-cxxflags -Wno-deprecated-declarations -Wno-unused-result - - if tc-is-clang; then - # fix mangling in LLVM: https://github.com/llvm/llvm-project/issues/85656 - append-cxxflags -fclang-abi-compat=17 - fi - fi - - if use onednn; then - mycmakeargs+=( - -DMKLDNN_FOUND=ON - -DMKLDNN_LIBRARIES=dnnl - -DMKLDNN_INCLUDE_DIR="${ESYSROOT}/usr/include/oneapi/dnnl" - ) - fi - - cmake_src_configure -} - -src_compile() { - PYTORCH_BUILD_VERSION=${PV} \ - PYTORCH_BUILD_NUMBER=0 \ - cmake_src_compile -} - -src_install() { - cmake_src_install - - # Used by pytorch ebuild - insinto "/var/lib/${PN}" - doins "${BUILD_DIR}"/CMakeCache.txt - dostrip -x /var/lib/${PN}/functorch.so - - rm -rf python - mkdir -p python/torch || die - cp torch/version.py python/torch/ || die - python_domodule python/torch - - mkdir "${D}"$(python_get_sitedir)/torch/bin || die - mkdir "${D}"$(python_get_sitedir)/torch/lib || die - mkdir "${D}"$(python_get_sitedir)/torch/include || die - - ln -s ../../../../../include/torch \ - "${D}$(python_get_sitedir)"/torch/include/torch || die # bug 923269 - - mv "${D}"/usr/bin/torch_shm_manager \ - "${D}"/$(python_get_sitedir)/torch/bin/ || die - - mv "${D}"/usr/$(get_libdir)/libtorch_global_deps.so \ - "${D}"/$(python_get_sitedir)/torch/lib/ || die - - mv "${D}"/usr/lib/libc10*.so \ - "${D}"/usr/$(get_libdir)/ || die -} diff --git a/sci-libs/caffe2/caffe2-2.5.1-r6.ebuild b/sci-libs/caffe2/caffe2-2.5.1-r6.ebuild new file mode 100644 index 000000000000..42f843a02f98 --- /dev/null +++ b/sci-libs/caffe2/caffe2-2.5.1-r6.ebuild @@ -0,0 +1,321 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +ROCM_VERSION=6.1 +inherit python-single-r1 cmake cuda flag-o-matic prefix rocm toolchain-funcs + +MYPN=pytorch +MYP=${MYPN}-${PV} + +DESCRIPTION="A deep learning framework" +HOMEPAGE="https://pytorch.org/" +SRC_URI="https://github.com/pytorch/${MYPN}/archive/refs/tags/v${PV}.tar.gz + -> ${MYP}.tar.gz" + +S="${WORKDIR}"/${MYP} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cuda distributed fbgemm flash gloo mkl mpi nnpack +numpy onednn openblas opencl openmp qnnpack rocm xnnpack" +RESTRICT="test" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + mpi? ( distributed ) + gloo? ( distributed ) + ?? ( cuda rocm ) + rocm? ( + || ( ${ROCM_REQUIRED_USE} ) + !flash + ) +" + +RDEPEND=" + ${PYTHON_DEPS} + dev-cpp/abseil-cpp:= + dev-cpp/gflags:= + >=dev-cpp/glog-0.5.0 + dev-cpp/nlohmann_json + dev-cpp/opentelemetry-cpp + dev-libs/cpuinfo + dev-libs/libfmt + dev-libs/protobuf:= + dev-libs/pthreadpool + dev-libs/sleef + virtual/lapack + sci-libs/onnx + sci-libs/foxi + cuda? ( + dev-libs/cudnn + >=dev-libs/cudnn-frontend-1.0.3:0/8 + dev-util/nvidia-cuda-toolkit:=[profiler] + ) + fbgemm? ( >=dev-libs/FBGEMM-2023.12.01 ) + gloo? ( sci-libs/gloo[cuda?] ) + mpi? ( virtual/mpi ) + nnpack? ( sci-libs/NNPACK ) + numpy? ( $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ') ) + onednn? ( =dev-libs/oneDNN-3.5* ) + opencl? ( virtual/opencl ) + qnnpack? ( + !sci-libs/QNNPACK + dev-cpp/gemmlowp + ) + rocm? ( + =dev-util/hip-6.1* + =dev-libs/rccl-6.1*[${ROCM_USEDEP}] + =sci-libs/rocThrust-6.1*[${ROCM_USEDEP}] + =sci-libs/rocPRIM-6.1*[${ROCM_USEDEP}] + =sci-libs/hipBLAS-6.1*[${ROCM_USEDEP}] + =sci-libs/hipFFT-6.1*[${ROCM_USEDEP}] + =sci-libs/hipSPARSE-6.1*[${ROCM_USEDEP}] + =sci-libs/hipRAND-6.1*[${ROCM_USEDEP}] + =sci-libs/hipCUB-6.1*[${ROCM_USEDEP}] + =sci-libs/hipSOLVER-6.1*[${ROCM_USEDEP}] + =sci-libs/miopen-6.1*[${ROCM_USEDEP}] + =dev-util/roctracer-6.1*[${ROCM_USEDEP}] + + =sci-libs/hipBLASLt-6.1* + amdgpu_targets_gfx90a? ( =sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx90a] ) + amdgpu_targets_gfx940? ( =sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx940] ) + amdgpu_targets_gfx941? ( =sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx941] ) + amdgpu_targets_gfx942? ( =sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx942] ) + ) + distributed? ( + sci-libs/tensorpipe[cuda?] + dev-cpp/cpp-httplib + ) + xnnpack? ( >=sci-libs/XNNPACK-2024.02.29 ) + mkl? ( sci-libs/mkl ) + openblas? ( sci-libs/openblas ) +" + +DEPEND=" + ${RDEPEND} + cuda? ( <=dev-libs/cutlass-3.4.1 ) + onednn? ( sci-libs/ideep ) + dev-libs/psimd + dev-libs/FP16 + dev-libs/FXdiv + dev-libs/pocketfft + dev-libs/flatbuffers + >=sci-libs/kineto-0.4.0_p20240525 + $(python_gen_cond_dep ' + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ') +" + +PATCHES=( + "${FILESDIR}"/${P}-unbundle_fmt.patch + "${FILESDIR}"/${P}-unbundle_kineto.patch + "${FILESDIR}"/${P}-cudnn_include_fix.patch + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${PN}-2.4.0-cpp-httplib.patch + "${FILESDIR}"/${P}-glog-0.6.0.patch + "${FILESDIR}"/${P}-newfix-functorch-install.patch +) + +src_prepare() { + filter-lto #bug 862672 + + # Unbundle fmt + sed -i \ + -e 's|::fmt-header-only||' \ + c10/CMakeLists.txt \ + cmake/Dependencies.cmake \ + torch/CMakeLists.txt \ + || die + + # Drop third_party from CMake tree + sed -i \ + -e '/add_subdirectory.*third_party/d' \ + CMakeLists.txt \ + cmake/Dependencies.cmake \ + cmake/ProtoBuf.cmake \ + aten/src/ATen/CMakeLists.txt \ + || die + + cmake_src_prepare + pushd torch/csrc/jit/serialization || die + flatc --cpp --gen-mutable --scoped-enums mobile_bytecode.fbs || die + popd + + # prefixify the hardcoded paths, after all patches are applied + hprefixify \ + aten/CMakeLists.txt \ + caffe2/CMakeLists.txt \ + cmake/Metal.cmake \ + cmake/Modules/*.cmake \ + cmake/Modules_CUDA_fix/FindCUDNN.cmake \ + cmake/Modules_CUDA_fix/upstream/FindCUDA/make2cmake.cmake \ + cmake/Modules_CUDA_fix/upstream/FindPackageHandleStandardArgs.cmake \ + cmake/public/LoadHIP.cmake \ + cmake/public/cuda.cmake \ + cmake/Dependencies.cmake \ + torch/CMakeLists.txt \ + CMakeLists.txt + + if use rocm; then + sed -e "s:/opt/rocm:/usr:" \ + -e "s:lib/cmake:$(get_libdir)/cmake:g" \ + -e "s/HIP 1.0/HIP 1.0 REQUIRED/" \ + -i cmake/public/LoadHIP.cmake || die + + ebegin "HIPifying cuda sources" + ${EPYTHON} tools/amd_build/build_amd.py || die + eend $? + fi +} + +src_configure() { + if use cuda && [[ -z ${TORCH_CUDA_ARCH_LIST} ]]; then + ewarn "WARNING: caffe2 is being built with its default CUDA compute capabilities: 3.5 and 7.0." + ewarn "These may not be optimal for your GPU." + ewarn "" + ewarn "To configure caffe2 with the CUDA compute capability that is optimal for your GPU," + ewarn "set TORCH_CUDA_ARCH_LIST in your make.conf, and re-emerge caffe2." + ewarn "For example, to use CUDA capability 7.5 & 3.5, add: TORCH_CUDA_ARCH_LIST=7.5 3.5" + ewarn "For a Maxwell model GPU, an example value would be: TORCH_CUDA_ARCH_LIST=Maxwell" + ewarn "" + ewarn "You can look up your GPU's CUDA compute capability at https://developer.nvidia.com/cuda-gpus" + ewarn "or by running /opt/cuda/extras/demo_suite/deviceQuery | grep 'CUDA Capability'" + fi + + local mycmakeargs=( + -DBUILD_CUSTOM_PROTOBUF=OFF + -DLIBSHM_INSTALL_LIB_SUBDIR="${EPREFIX}"/usr/$(get_libdir) + -DPython_EXECUTABLE="${PYTHON}" + -DTORCH_INSTALL_LIB_DIR="${EPREFIX}"/usr/$(get_libdir) + -DUSE_CCACHE=OFF + -DUSE_CUDA=$(usex cuda) + -DUSE_DISTRIBUTED=$(usex distributed) + -DUSE_FAKELOWP=OFF + -DUSE_FBGEMM=$(usex fbgemm) + -DUSE_FLASH_ATTENTION=$(usex flash) + -DUSE_GFLAGS=ON + -DUSE_GLOG=ON + -DUSE_GLOO=$(usex gloo) + -DUSE_ITT=OFF + -DUSE_KINETO=OFF # TODO + -DUSE_MAGMA=OFF # TODO: In GURU as sci-libs/magma + -DUSE_MEM_EFF_ATTENTION=OFF + -DUSE_MKLDNN=$(usex onednn) + -DUSE_MPI=$(usex mpi) + -DUSE_NCCL=OFF + -DUSE_NNPACK=$(usex nnpack) + -DUSE_NUMA=OFF + -DUSE_NUMPY=$(usex numpy) + -DUSE_OPENCL=$(usex opencl) + -DUSE_OPENMP=$(usex openmp) + -DUSE_PYTORCH_QNNPACK=$(usex qnnpack) + -DUSE_PYTORCH_METAL=OFF + -DUSE_ROCM=$(usex rocm) + -DUSE_SYSTEM_CPUINFO=ON + -DUSE_SYSTEM_EIGEN_INSTALL=ON + -DUSE_SYSTEM_FP16=ON + -DUSE_SYSTEM_FXDIV=ON + -DUSE_SYSTEM_GLOO=ON + -DUSE_SYSTEM_ONNX=ON + -DUSE_SYSTEM_PSIMD=ON + -DUSE_SYSTEM_PSIMD=ON + -DUSE_SYSTEM_PTHREADPOOL=ON + -DUSE_SYSTEM_PYBIND11=ON + -DUSE_SYSTEM_SLEEF=ON + -DUSE_SYSTEM_XNNPACK=$(usex xnnpack) + -DUSE_TENSORPIPE=$(usex distributed) + -DUSE_UCC=OFF + -DUSE_VALGRIND=OFF + -DUSE_XNNPACK=$(usex xnnpack) + -DUSE_XPU=OFF + -Wno-dev + ) + + if use mkl; then + mycmakeargs+=(-DBLAS=MKL) + elif use openblas; then + mycmakeargs+=(-DBLAS=OpenBLAS) + else + mycmakeargs+=(-DBLAS=Generic -DBLAS_LIBRARIES=) + fi + + if use cuda; then + addpredict "/dev/nvidiactl" # bug 867706 + addpredict "/dev/char" + addpredict "/proc/self/task" # bug 926116 + + mycmakeargs+=( + -DUSE_CUDNN=ON + -DTORCH_CUDA_ARCH_LIST="${TORCH_CUDA_ARCH_LIST:-3.5 7.0}" + -DUSE_NCCL=OFF # TODO: NVIDIA Collective Communication Library + -DCMAKE_CUDA_FLAGS="$(cuda_gccdir -f | tr -d \")" + ) + elif use rocm; then + export PYTORCH_ROCM_ARCH="$(get_amdgpu_flags)" + + mycmakeargs+=( + -DUSE_NCCL=ON + -DUSE_SYSTEM_NCCL=ON + ) + + # ROCm libraries produce too much warnings + append-cxxflags -Wno-deprecated-declarations -Wno-unused-result + + if tc-is-clang; then + # fix mangling in LLVM: https://github.com/llvm/llvm-project/issues/85656 + append-cxxflags -fclang-abi-compat=17 + fi + fi + + if use onednn; then + mycmakeargs+=( + -DMKLDNN_FOUND=ON + -DMKLDNN_LIBRARIES=dnnl + -DMKLDNN_INCLUDE_DIR="${ESYSROOT}/usr/include/oneapi/dnnl" + ) + fi + + cmake_src_configure +} + +src_compile() { + PYTORCH_BUILD_VERSION=${PV} \ + PYTORCH_BUILD_NUMBER=0 \ + cmake_src_compile +} + +src_install() { + cmake_src_install + + # Used by pytorch ebuild + insinto "/var/lib/${PN}" + doins "${BUILD_DIR}"/CMakeCache.txt + dostrip -x /var/lib/${PN}/functorch.so + + rm -rf python + mkdir -p python/torch || die + cp torch/version.py python/torch/ || die + python_domodule python/torch + + mkdir "${D}"$(python_get_sitedir)/torch/bin || die + mkdir "${D}"$(python_get_sitedir)/torch/lib || die + mkdir "${D}"$(python_get_sitedir)/torch/include || die + + ln -s ../../../../../include/torch \ + "${D}$(python_get_sitedir)"/torch/include/torch || die # bug 923269 + + mv "${D}"/usr/bin/torch_shm_manager \ + "${D}"/$(python_get_sitedir)/torch/bin/ || die + + mv "${D}"/usr/$(get_libdir)/libtorch_global_deps.so \ + "${D}"/$(python_get_sitedir)/torch/lib/ || die + + mv "${D}"/usr/lib/libc10*.so \ + "${D}"/usr/$(get_libdir)/ || die +} diff --git a/sci-libs/fplll/Manifest b/sci-libs/fplll/Manifest index b8d9cefa7d91..d32a3dec5b96 100644 --- a/sci-libs/fplll/Manifest +++ b/sci-libs/fplll/Manifest @@ -1,3 +1,5 @@ DIST fplll-5.4.5.tar.gz 2630275 BLAKE2B 43d1601f401c3a4eba60939028b26f99d32f92b9d53b763768427d05b2d709645532c4fbb14556c8d8d92cc14efe86468469ed69a77bdb03af75ec08499cc17e SHA512 3e1281f1b993ebe4a767b7fc526f49a27d58f24b1b4c6074310cc971f6f569388d6ba27102087a2eb11671d2d5b87bd60306e2597567f4ae8dd2a9efd13beb77 +DIST fplll-5.5.0.tar.gz 2633527 BLAKE2B 47a5b53fea261cb08ac04a939108414f692280806a7c12ebf851f309cfccbeb360dd1777ac595e9eacae1f23b51c6437c11c91964a04242f3a45af9f8b28de75 SHA512 c070dab206ebf692aa2afd8e6cdf412b5497488e8205332b4b726dd69283f415f86d1bcb55937a678cacd47b2068eea3f776eae8e050c4096e48d1cefd3de291 EBUILD fplll-5.4.5.ebuild 615 BLAKE2B 1b583bed4dd760c26d83229774da1eb4d8eb9bfa8df0e7eb5a72983c12ce479a9b97bfca366ea6c4cb3f8513a6d2d2c2390c272ed1fd3c7259a7f94d6538012a SHA512 65dc826315730285f465048e6876b8f7cc250b81b8d5cc932538c7eee821f6cdfa9cf37932b59f069cb75b15db38da19238071da576814c9fdb6fa96a21872d8 +EBUILD fplll-5.5.0.ebuild 616 BLAKE2B 6fde47375a3250ad70148b41aa62ef85f7a8a7eacd10ffe3397f70cbd3f399800128ae451f169067d72deca6cc20a41cdf229a4e84cc3bed6e2a526cbe2d103b SHA512 019c105d6d8570324c2f550f0b5519548ad1e582d5c5e73d1e5e9bde692388a33a642c00dd0c0eaf0e92e2083edbf3a1394d4c7b6bb88f37f0565fbb646b5653 MISC metadata.xml 858 BLAKE2B e27b47f6a8d0bb3c17eb023c24f95472c5f791e8a9bf86c1805d1c832b0973a665fe2231f82a289c37afd5318deb89717029ae6694005ade8e112a2769a56170 SHA512 49b6fd4968670fb0da92a883b81420e4739a893a6866ae500106181df5182324e616ccee8e0f290a7cda20f3f4d850fbf9a9462d03f0057da9ced4ba1d835ba7 diff --git a/sci-libs/fplll/fplll-5.5.0.ebuild b/sci-libs/fplll/fplll-5.5.0.ebuild new file mode 100644 index 000000000000..fc8117803c94 --- /dev/null +++ b/sci-libs/fplll/fplll-5.5.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Implementations of the floating-point LLL reduction algorithm" +HOMEPAGE="https://github.com/fplll/fplll" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0/8" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="qd" + +BDEPEND="virtual/pkgconfig" +DEPEND="dev-libs/gmp:0 + dev-libs/mpfr:0 + qd? ( sci-libs/qd )" +RDEPEND="${DEPEND}" + +src_configure() { + econf \ + $(use_with qd) +} + +src_install() { + default + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/sci-libs/hipBLASLt/Manifest b/sci-libs/hipBLASLt/Manifest index 76c27c7af0a5..221dbbbf936c 100644 --- a/sci-libs/hipBLASLt/Manifest +++ b/sci-libs/hipBLASLt/Manifest @@ -5,5 +5,5 @@ AUX hipBLASLt-6.1.1-gentoopath.patch 724 BLAKE2B ac3acc8c444de7a8072337cadb3c997 AUX hipBLASLt-6.1.1-no-arch.patch 2082 BLAKE2B c71e2c112c24f0c82170852f7fe5381e99e13501656e3519cd8438fe0ae369c95b16b9f4339d2ff0dc42eaf4f4a8cbdbac57c0b72856a9db6bd5344cf3fa8548 SHA512 a758ba61f52080ecae8be8e879a9e56a71b672b7fa1514573f4498520113d40fd1fb323baeeba28a4239e2a66dced478430a2c556510c4d70d8a0d4b2add2386 AUX hipBLASLt-6.1.1-no-git.patch 365 BLAKE2B 47b7f23a4ce0919cfd6d2d1a946d98822db912571d908c82d35d734ea2bfee15a1e537f50e8fb2ada474e819274654462b26f97fcb5dc010354df9f6ba30c377 SHA512 a44aa357bdc035ffcfe4d30fb81db205dfcfd28c00543a4c55f7f61f5a90ae228bcfce71be2f4290e842f60f534287b2f25a4cd2a27369ddbbaf1e0d1171a7d5 DIST hipBLASLt-6.1.1.tar.gz 78448557 BLAKE2B 08ac9ce45d7d1e4384a36939af22f65589ed87e25b4db77f5f7ff5fbe65b8070e9c55fbb09db3b7bd49be98981dc8bf939e646ea27571bf1d1ccfa52a50b0f92 SHA512 1aa3a1cb8e9c7f653db66909b38be065b7386b97d4bd6b52ecc6c2bf72c6cdfabde6f12ebc6016b5fa195f979359af875eda8d54ea6772329312cb357bc2ebc5 -EBUILD hipBLASLt-6.1.1-r1.ebuild 3311 BLAKE2B ca125cd335e79d204cfbab86bfb9a1a7313fbb25af68fc71beb0a3ee94ada2475639e5e5b2b766aca46b014d9771d2529edc2f551e7cb55abf162dbda58a050f SHA512 14a459eac3bce051a35fd0a4c4d99c9352e63fa79c9e77b03ffc6dce00d005c145bd64c2cde6826001fd9d1ae231fc4bc3d9b8f08f567fe7682da05f6f39f6ab +EBUILD hipBLASLt-6.1.1-r1.ebuild 3311 BLAKE2B b0c616370f2ecadf353a0bbee88a30b38c29e2d4748c3c04dd56afdf6038b7c567f3b36b97ceaa946440bf2f97ef53b4d7d80cb01a03342336c7f620a99fec3d SHA512 1755815958456998c378fa6295be845c5d737b23078f5f004b30ea36181f08aa80bd19c3f1c1dbb37c37b9cbdd233ce6bfdb921a1eea43f9ccb2c956566159da MISC metadata.xml 416 BLAKE2B 72248e12cd10654326a6685df0e03c508d413d2728d8e687eb8ad3d8dc928e518e3ba21df1ee774282c45363f61eed98b47b862cab2354d743ca530047084281 SHA512 02acf2d17f2c56f09c599fcde965bd5ceb07c335d7c2b4fd57a06a6b1a591a250d22de7a002f299cc99cacd1fd72f183adf51fc1b9ebff1338c6d83450da9c3b diff --git a/sci-libs/hipBLASLt/hipBLASLt-6.1.1-r1.ebuild b/sci-libs/hipBLASLt/hipBLASLt-6.1.1-r1.ebuild index 574f185be5d7..021ed71fd7cd 100644 --- a/sci-libs/hipBLASLt/hipBLASLt-6.1.1-r1.ebuild +++ b/sci-libs/hipBLASLt/hipBLASLt-6.1.1-r1.ebuild @@ -38,7 +38,7 @@ BDEPEND=" dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/joblib[${PYTHON_USEDEP}] ') - $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') + $(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}') test? ( dev-cpp/gtest ) diff --git a/sci-libs/mkl/Manifest b/sci-libs/mkl/Manifest index 383d5e4aed3f..85528448a817 100644 --- a/sci-libs/mkl/Manifest +++ b/sci-libs/mkl/Manifest @@ -21,8 +21,8 @@ DIST intel-oneapi-mkl-devel-2022.2.1-2022.2.1-16993_amd64.deb 183600754 BLAKE2B DIST intel-oneapi-mkl-devel-2023.0.0-2023.0.0-25398_amd64.deb 171354314 BLAKE2B 27ddc4f1fe09d688e2593e30d1de49505ccf5ac3d8ce50105f29ed451cf402df064419e3795b7f7aeed499fb6fd3191cce0099fa85a20fe90e06cc82415b1c79 SHA512 2688e1ca91bfce33026fd5853d04aa510318d2e6f154755afa2103ba797119b0e2c19718e1180b96fce89d704b9b8d5d3995788320296861b498e18420470572 DIST intel-oneapi-mkl-devel-2023.1.0-2023.1.0-46342_amd64.deb 171338710 BLAKE2B 7f804f88e88c1bc28c0b2470a703815e33e44fe6e4dacd179095c430a46db34f97f863b3169b96e74f67e14c285f3adf99ff04c60c40e495e17f2a947fc03387 SHA512 1ef5cb3a161b3d2fcf6c1e4a13e696abc8756a9d05723fd7d9c514bf2469f787e9e56f8696fbad25d3102a6d84063fc61daae6b514188c021f5e6b00d67a8dd9 DIST mkl-2020.4.304.tar.gz 549319314 BLAKE2B 9ffdb0dc87c9fba1f003961f09cabef7376bd3d10e98085900c863383f0eb1e026f0f804390b2edf4e29d5b0b685af7b74092a7cb5cc871ca656462cec9487e4 SHA512 9c4ff7710484a1c0dd3e6ba7401eb6cb599f771651006b6a570c45b9abf1f43e8e400940d859a656c6892aa81e634c4d74eefe88e8287fdbb19a513f332326b7 -EBUILD mkl-2020.4.304.ebuild 6677 BLAKE2B 4bb2986b2421f7304ba54c8a42695df780216a6f48c9c619a93c8da98f4746ab18ecb7697b17dbd6a3e61d96ae49d60c9808281d1d5903d7ad4820ab46547da5 SHA512 7e654affd9f8f6c3358df1da3de0f16a7fa5fc27b9ef0b402fb812a692a176577ebd2e832944ab6aaada8989f39604fe8ccb58174ba96362c2410549994dc6ce -EBUILD mkl-2022.2.1.16993-r1.ebuild 4915 BLAKE2B fd041dac30b747447f6b7ac42e8224ad4cc927a96f9e4f6d102d2c2847f52d09ff121791d06364480fc71b2567cfb725b8eff7e845b9489820976030c655a19a SHA512 89e2d3e7f07ff05997bfbd380f7dc1b237aed3d1734db13972fab49f193131d610703ab0b96205c537af33df2262eedb1567cd54f37c6d6ab07ab93de033b9ae -EBUILD mkl-2023.0.0.25398.ebuild 4953 BLAKE2B 54fe6406a0b48c86f34f374188180da5d5833cee48cafc90fe31314493b150d42fbb27387e50179ab9896779df9b13ca2ee589bcf808edb275015a0fe3917ad8 SHA512 c5f7f0ada8cb2e8aed86f660ec87b23cc30f0dc78757022a2362cf1cf6a2d6f5b461a20c0d398c5033ac17ca41445bbc7b8eaac60257666ee6779e7ad0f7dee3 -EBUILD mkl-2023.1.0.46342.ebuild 4962 BLAKE2B b27595d98a8aad020d3b23cf7625541a5ab4b9da79d90e8a2e36d386943e32c07ab77a25c6c27a165224af0f8a1888d1b2c61f229beb75812eac8cd6dd04c999 SHA512 766cafab7b74d36d5fe72b43ec04d265604d098fdd7ead96c1de59dad31d21e896c45742ec0ef2d3969659929a7e92e3d38ff7cc07d4219ac260dd37835ff1f0 +EBUILD mkl-2020.4.304.ebuild 6682 BLAKE2B 02bd659298ebf88d106c1ec50cd99bfc33bc1fe2d191ea4821e6111d74a75413fab3bd99156ed6456f3b6d314ad0f4a464e5821fcbf414f929cd75f694c2ba94 SHA512 968e572c6a1c31225d8ab1ad9c8f4d6b9fdd0dd28ad80f4a2929e8768ae1776931a99349528796a47cd21b5f8ad2503a103a6f515a449ec9ca5292d3910ea729 +EBUILD mkl-2022.2.1.16993-r1.ebuild 4920 BLAKE2B 3a24a5da8fcc7a3b068e8f5dbab6d493fe66a54616ae598287a78faab1c5e730e9dd0fe364ee271f056a7741f09b3c7843d78e7a8f424848e16bb1825862b6b8 SHA512 701307b3620d3de1797ac9e6f70cdc3892e8dd88cbafaf8fc0ecbf7e26abbd781fd97d411d9dce781508a9f96474e4ec9878467b244df1d016ad66868061ccee +EBUILD mkl-2023.0.0.25398.ebuild 4958 BLAKE2B f4abfa0492877cb8b0a50f89ebb378f7b9a38f8372e767de84df6062f51aa32c3c15e2cdbe7d187d48f7b99d6a6816e92282d6880cefbbd1eddd3cacb88a2ccb SHA512 da0b2411fd302898907ee30d1bb0d3e5b1b3d81ce61f8896a5a283bd15e65fbfe76093f3675ae4b67b664c8d323ab53e74b660596bed08f2bf8b45bceae43189 +EBUILD mkl-2023.1.0.46342.ebuild 4967 BLAKE2B d848c9fa2ab829fab10544f25153a8ad951e7168495639af695044947ac7469483542066b6947e3d83836ebb4a509b23ec1ffb6a07a296f49f0e32eb773a9edb SHA512 8979e0ecd66e48d7788430d155b714d8d37147eeb038b3c6f0ee8468735f44e6307d6f3cd15b8e32ee141150625c90f6a2c0ce45ad85a07072340da913b0f9d6 MISC metadata.xml 799 BLAKE2B 98a214e275d4d4930086f0dd1695c4d5dfd44da3399f77cc1f839e403423050c6d20f7b38892bd9ff96e5e8578a4c83ff8979e6505dfb67417c6dbb40fe59500 SHA512 3b609c66ec90f057cb16c6721e6a5bfd6a3522a1ff2bba47e2a77212e26f06fb850be8b178a0a2020f751882ddd32fda082879c7f5a9b008c041ce493f55d28a diff --git a/sci-libs/mkl/mkl-2020.4.304.ebuild b/sci-libs/mkl/mkl-2020.4.304.ebuild index b5764fafad09..45c317219bad 100644 --- a/sci-libs/mkl/mkl-2020.4.304.ebuild +++ b/sci-libs/mkl/mkl-2020.4.304.ebuild @@ -27,7 +27,7 @@ RESTRICT="strip" RDEPEND=" app-eselect/eselect-blas app-eselect/eselect-lapack - sys-libs/libomp[${MULTILIB_USEDEP}] + llvm-runtimes/openmp[${MULTILIB_USEDEP}] " # bug #801460 BDEPEND="app-arch/xz-utils[extra-filters(+)]" diff --git a/sci-libs/mkl/mkl-2022.2.1.16993-r1.ebuild b/sci-libs/mkl/mkl-2022.2.1.16993-r1.ebuild index 08673a4b5283..0695051cd353 100644 --- a/sci-libs/mkl/mkl-2022.2.1.16993-r1.ebuild +++ b/sci-libs/mkl/mkl-2022.2.1.16993-r1.ebuild @@ -30,7 +30,7 @@ RDEPEND=" dev-cpp/tbb dev-libs/opencl-icd-loader sys-cluster/mpich - sys-libs/libomp + llvm-runtimes/openmp " # bug #801460 BDEPEND="app-arch/xz-utils[extra-filters(+)]" diff --git a/sci-libs/mkl/mkl-2023.0.0.25398.ebuild b/sci-libs/mkl/mkl-2023.0.0.25398.ebuild index 55c1ca5a70c6..f81d3ce2ca91 100644 --- a/sci-libs/mkl/mkl-2023.0.0.25398.ebuild +++ b/sci-libs/mkl/mkl-2023.0.0.25398.ebuild @@ -29,7 +29,7 @@ RDEPEND=" dev-cpp/tbb dev-libs/opencl-icd-loader sys-cluster/mpich - sys-libs/libomp + llvm-runtimes/openmp " # bug #801460 BDEPEND=" diff --git a/sci-libs/mkl/mkl-2023.1.0.46342.ebuild b/sci-libs/mkl/mkl-2023.1.0.46342.ebuild index 024336ac92b8..cebe7dbfe4d3 100644 --- a/sci-libs/mkl/mkl-2023.1.0.46342.ebuild +++ b/sci-libs/mkl/mkl-2023.1.0.46342.ebuild @@ -29,7 +29,7 @@ RDEPEND=" dev-cpp/tbb dev-libs/opencl-icd-loader sys-cluster/mpich[fortran] - sys-libs/libomp + llvm-runtimes/openmp " # bug #801460 BDEPEND=" diff --git a/sci-libs/rocBLAS/Manifest b/sci-libs/rocBLAS/Manifest index b147f184cac8..693a70cf2f48 100644 --- a/sci-libs/rocBLAS/Manifest +++ b/sci-libs/rocBLAS/Manifest @@ -14,8 +14,8 @@ DIST rocm-rocBLAS-5.1.3.tar.gz 13741546 BLAKE2B af10d8cb69bee44ef5aab2dc350e1d9f DIST rocm-rocBLAS-5.4.2.tar.gz 15938434 BLAKE2B 14ebafa944fdac443800bb7f9b16f8ecf0f420b168d3c6534f68ad7d14bf058a4cc1673fce8f4b9be53e4a6c1cf05011e01853cd901bce0b59827d2aca4d029f SHA512 e62bb80457c1e89454885499bdce9d60beecd706806724418983c78c65c2ae303550f9670b5a6e71dae6a61c0e42b223ab01b36b8406430731ebcbff54c4a8f4 DIST rocm-rocBLAS-5.7.1.tar.gz 55389700 BLAKE2B 9e58b1d29c8a04aa58ce17fdd9b0c2504934261851619dc5b696a04e8c6a79e7c44d86a6db7a9c76a434d76593de8c191cba6f163cf398d01cfc001e5fa32b5a SHA512 cfc73f6c490595a3c153c2ac2a3cb5926c48c2c19baa07ff3dcdf3a7ccaed82cfdff64ed5a3be64c349cb43d654d4b104d9090e2ec9f2061049d6a4921c07722 DIST rocm-rocBLAS-6.1.1.tar.gz 100103895 BLAKE2B df89a21e47730714b80c62717a86d65ac0d819c2d33b2a3c6252b60b8d7cc9eb5f8f1db27159b0a8dfc87aba7ccad97e2f832bc0044e92d0b69c526d382c745a SHA512 74e847c4ddee16cae7f41e268a815ea03875519c365abe7dfce313a9545df245baa73301b432f64a36cc988281fec7530629a0d72583e9ea287c98ec8a0b3907 -EBUILD rocBLAS-5.1.3-r4.ebuild 3050 BLAKE2B 79866dab3479b657dc21aabf7140d465c144b8ea778f1f620a6dad8425883b8a2feb6eff15e936074c5947d44be104e5c391732596c185cb360592981f4cf461 SHA512 b14cf2ec87859a56f314f161fdb6f96695e6f68838699406365f619e56481c99559e6a5e115f16376ea323b9cbf6b57307c2b8531d6bb31a6339639d1eb2d734 -EBUILD rocBLAS-5.4.2-r3.ebuild 2689 BLAKE2B a3713d44891b79166ff1bcf5e2290853b85545a7cbe4a0605ace885f350d8de2ba119090c9bc9ac15bd768ebb7e58ae450cd31e58402f87e3ad0ca5344aeabc7 SHA512 95da8f3dd111894bfc18f522c44bd92e34e91a3215ef89e2bc24ffa63e6fd320d04ee2c98d9261482793e583064a7d77ed364a0ad0a72270009f302c6de28703 -EBUILD rocBLAS-5.7.1-r2.ebuild 2718 BLAKE2B 78b35d4032fd97fa5ff63273c213ecde3b7d7900b4002da27355ce1ab8f4af2a6e796560b955df6fb3b1d517752a153ccf4a9980e31733a141b880a11f676db7 SHA512 943f734ef9a089b5a16032614813b8e528de81a4b81c81734814ab4a986e3c01a3d9e6f0bdee32efd850f476f83380cb445ac3da2a6dc102cbd18414ff19a1db -EBUILD rocBLAS-6.1.1-r1.ebuild 2800 BLAKE2B 24f86ffb831c463854d0278f1e189b36671220dcb77218f88d22a202ac37542ad722b6b4e8df4678ce4b66311e2c5db6969ceff09269e1de8770b98eef29d8cc SHA512 a991bdafa981c934124dd54048a4a9a30610438266b8d07915b741cbaf1ec18191360045b45fe095ee55f0f7b73af51cd18376663d6fb619597c33cbcac2aaeb +EBUILD rocBLAS-5.1.3-r4.ebuild 3060 BLAKE2B fc5dba7b188129cc7c1c7fc07737d96ac86bc6aa2dc86779cceca028d31f0177592dba7698850a504451a253421511a445498a0df4654b12e60ab895b2efeadd SHA512 f6eba78811b8d581a7a4417a1ab637824012b5a30b5c76c6ec5a504d759691d432c53e15ede8ba5edc729a2a8863e86b819aa472589e146e8841c605ff138ba3 +EBUILD rocBLAS-5.4.2-r3.ebuild 2699 BLAKE2B a1b5134614e21bb3741530843d17d6016a1629ac9008908004b7743e2c9ff08509ba016db06a127a82679e3864d3e3cb12f1e2808e2edb2223c8993c10cc85d3 SHA512 9208a43e7ec94d9b2dcd61202695f3a78ec89d1062e64500f664a322c3b11e8fadb6e30ec5063012029b28ded5abc819dcd72b0d2b30781cca8b4d0d1897f880 +EBUILD rocBLAS-5.7.1-r2.ebuild 2728 BLAKE2B e8256cd30876c89d9d84180e4621884d87c873e9680980369b6ec1a377fac3ba441bfbe5ebd160dbe5a7c13f868a15afd14328f663ff05afae136670a1a7ce97 SHA512 390911c868c8cb4bdec520bcf0d189922e528200c2b43946542034a3bd72141a47730ce67a5d755c4469100165194c8bcdfd81f9e6d6394ee7e51e0f84cac13f +EBUILD rocBLAS-6.1.1-r1.ebuild 2810 BLAKE2B 053b7b9e8bde873158c920a2161c18317541c55dc5f3bb5bfe8d3372bae0f17f0c9efed1dc9878e864e3c587da63f26672815defbef9e1657435bb7bca505a35 SHA512 dc4a733e56a9c28486fc5304a9f03b42dccda88036e18f5a2e0be40663a21aefc623e83311e740b9048c45d7edb64b764ca5477d00b2546b51cbcfa6a47e3fda MISC metadata.xml 852 BLAKE2B c358ef9128e50c5052fea39876550419dc037a8750c8dd12f10415a02dd2a64893ecd11c4c0ee4acc8db83999a4f709a98da53f6d12f71d0782f98af92a37a96 SHA512 18de129cceb076f84235ccb5706287ee16c5843dab654dc9494013b89b07bbb9f82d1e4980e1c1a8e0c8ce2b0e125633cefef069b0e97b3127e0240071d5a53a diff --git a/sci-libs/rocBLAS/rocBLAS-5.1.3-r4.ebuild b/sci-libs/rocBLAS/rocBLAS-5.1.3-r4.ebuild index f8c6fd2a1367..a77c621f57ce 100644 --- a/sci-libs/rocBLAS/rocBLAS-5.1.3-r4.ebuild +++ b/sci-libs/rocBLAS/rocBLAS-5.1.3-r4.ebuild @@ -33,11 +33,11 @@ DEPEND=" test? ( virtual/blas dev-cpp/gtest - sys-libs/libomp + llvm-runtimes/openmp ) benchmark? ( virtual/blas - sys-libs/libomp + llvm-runtimes/openmp ) " diff --git a/sci-libs/rocBLAS/rocBLAS-5.4.2-r3.ebuild b/sci-libs/rocBLAS/rocBLAS-5.4.2-r3.ebuild index cc410094094f..9050d13eb312 100644 --- a/sci-libs/rocBLAS/rocBLAS-5.4.2-r3.ebuild +++ b/sci-libs/rocBLAS/rocBLAS-5.4.2-r3.ebuild @@ -33,11 +33,11 @@ DEPEND=" test? ( virtual/blas dev-cpp/gtest - sys-libs/libomp + llvm-runtimes/openmp ) benchmark? ( virtual/blas - sys-libs/libomp + llvm-runtimes/openmp ) " diff --git a/sci-libs/rocBLAS/rocBLAS-5.7.1-r2.ebuild b/sci-libs/rocBLAS/rocBLAS-5.7.1-r2.ebuild index ed39ae5207d8..80644ab20db8 100644 --- a/sci-libs/rocBLAS/rocBLAS-5.7.1-r2.ebuild +++ b/sci-libs/rocBLAS/rocBLAS-5.7.1-r2.ebuild @@ -34,11 +34,11 @@ DEPEND=" test? ( virtual/blas dev-cpp/gtest - sys-libs/libomp + llvm-runtimes/openmp ) benchmark? ( virtual/blas - sys-libs/libomp + llvm-runtimes/openmp ) " diff --git a/sci-libs/rocBLAS/rocBLAS-6.1.1-r1.ebuild b/sci-libs/rocBLAS/rocBLAS-6.1.1-r1.ebuild index a8f1f55aefba..b101aed6dee7 100644 --- a/sci-libs/rocBLAS/rocBLAS-6.1.1-r1.ebuild +++ b/sci-libs/rocBLAS/rocBLAS-6.1.1-r1.ebuild @@ -37,11 +37,11 @@ DEPEND=" test? ( virtual/blas dev-cpp/gtest - sys-libs/libomp + llvm-runtimes/openmp ) benchmark? ( virtual/blas - sys-libs/libomp + llvm-runtimes/openmp ) " diff --git a/sci-libs/rocFFT/Manifest b/sci-libs/rocFFT/Manifest index 8e355853590e..da6a587fc92f 100644 --- a/sci-libs/rocFFT/Manifest +++ b/sci-libs/rocFFT/Manifest @@ -6,7 +6,7 @@ AUX rocFFT-5.7.1-fix-rocm-link-path.patch 492 BLAKE2B daf4d865d8b2b5f3dc97a845f2 DIST rocFFT-5.1.3.tar.gz 845470 BLAKE2B 86060ce4f8612869fedc5bc92ed6a5bb7fbc539b26c7f5ab0ded5406ab6c340f64116782285d040824e54557af87d9ddb6f907fd1550b80c3da903d3c1d5e5c0 SHA512 175402856bd4753e74ce14326569be99221e21d0ce675e007900f6982c53e1566ad0b060eec545e0f17ff4dc4811688cc1003dc986226205ee95ee6f22d1ca43 DIST rocFFT-5.7.1.tar.gz 1192841 BLAKE2B 58f880f7ff866f85af70666d17e8b1a3ac8e63e853520546f746d74cecd805687fd689367a09d2b1ec4e1059b44b858377dce362cd4cae91cb85aad7c3185c00 SHA512 48467589cb4bc1334a4074bacc6a726c850dc2a79ef82622301d61c4269fb81c0b2b9fce56d72bddca584d1797a8634d243a9a6b8cf943e687b2b0f5c931116f DIST rocFFT-6.1.1.tar.gz 1257210 BLAKE2B 01d383d32bb91a9cd1d68a3b1ef2c6d71b33a9a49389c558adca2673ce4a74aab9f0a420977d4f4d5e8b8e72f3d9bfe3a8019e137968b58984edac4f2e1a9146 SHA512 fb35b4d21b8bd598702f79707cdf19b7c30a9e62176f5f7a71b93076f904a98446dac4fa8bffcd7ba20ecb797aec727e730c8232de881a52d519c0c00a907bf9 -EBUILD rocFFT-5.1.3-r1.ebuild 3921 BLAKE2B 98eb96a54b1f73e0674299da7300c68ccee073a9a87a27213f865d8cc0b229078416b7fb4a98ade73ea13baa59d3e57c3117c457e59e710177287d726fe6f189 SHA512 a3feeec5c089171f6476bcfe5f1a8d154a1117be087f57151d4efc4403dcefb689dfee8241b7ad3651c8b008106314a7f5f8ae65a5147cc617beef1e63b1b803 -EBUILD rocFFT-5.7.1-r2.ebuild 3945 BLAKE2B e663c5ef2aa609daec68644c943a4b4dbb7963f1506ef6dcd6c907c0b2bf9f5cddb768fb7e37503e5aba02c998655785bb44412205e2c5575fa95cf9b98a4dce SHA512 f49656ba5e5691bd83a3e18c22c343b254bafe3b8ea893b482e32421e6612cd4cb3cf14607751ffd78f8b0bfe56057ad563b624e27036a80b4db4b6e02f94fe9 -EBUILD rocFFT-6.1.1.ebuild 3742 BLAKE2B 33244227fe7fccc079f0a38e16fa797f8af862eda12f792e786f8e8a579a48c0c1fd91b3b9d85de44afb2fc9a3f4db6a7e741204cfceb03f9c42862377e031fe SHA512 9c52a7ac3128ecf5fb17631e0a6ac56a54936948472b2d9e090f564c734a40a68c861e1926807eb93d292ac638ad3f615e1bbe0a337fed5ab817cb95b2c60726 +EBUILD rocFFT-5.1.3-r1.ebuild 3926 BLAKE2B ef9cf52ee86139887f87b96f02d28bcb80420af8d3538060596a51b3b8b7369eee5da63d90e8132935acf32cba06024840427cf2e5a2b7662388e75c1b1b4272 SHA512 3a34f05845f726fd6cb71d0315ee6338e1e381910a8dca2d6c655ae80e1ba3f1765a2313f2795be8eb737195fa23e2597bcda89a1e6db778cfddf35485462beb +EBUILD rocFFT-5.7.1-r2.ebuild 3950 BLAKE2B ecd5ec8e81290c4bc83dd413c7b0dc292712244bbc6a432f593ddb868dfe24a5486acd590315b12ec9e3a074746aa4d84b0c8376aa1db490e8ea96867b7a3fd1 SHA512 48cb8edd4005f616d4e6886dce3b48bcb972b05ba35dc67739bfdca193a19fccba464bd275ca07bd98dff70fe7a237d256e2a45e4c2910ebe8f26648a262a555 +EBUILD rocFFT-6.1.1.ebuild 3747 BLAKE2B 13cf175e01205c53fb7b2541eb00cf1d9326a0eae51e26b96273ca70dc2917294a52414ef1bc2faee3383790e1ce3ac4ca8fac86a7eaf8b052728f779f31fceb SHA512 500a4a7ac83004b143c6742cfc319d6fecda12dc3d56282e0ae940e7ef2be67b14dab3a68dfdc1a6d1ffa24e76cd12ee4621b43434dba8e9a87fc39292321460 MISC metadata.xml 764 BLAKE2B 0490d64e75e9269408f31d4ac87f4845f01a306adf829d57d89401cab19c84412896f351c1dc9f6a918679447f1fe62a7fc958bff9c98f1990fe021f99b35e01 SHA512 0135bae193ac9439a86dca5e26a32366eae7b67175c955aace1a1d620f1df5176a3e3a302a5e6f1e6473777e5b51ab772aa67a01ba023e9c8bbb180352ae8e0b diff --git a/sci-libs/rocFFT/rocFFT-5.1.3-r1.ebuild b/sci-libs/rocFFT/rocFFT-5.1.3-r1.ebuild index 60110fcd62fc..7b75953d510f 100644 --- a/sci-libs/rocFFT/rocFFT-5.1.3-r1.ebuild +++ b/sci-libs/rocFFT/rocFFT-5.1.3-r1.ebuild @@ -34,7 +34,7 @@ DEPEND="dev-util/hip BDEPEND=" test? ( dev-cpp/gtest dev-libs/boost - >=sci-libs/fftw-3 sys-libs/libomp ) + >=sci-libs/fftw-3 llvm-runtimes/openmp ) >=dev-build/cmake-3.22 dev-build/rocm-cmake " diff --git a/sci-libs/rocFFT/rocFFT-5.7.1-r2.ebuild b/sci-libs/rocFFT/rocFFT-5.7.1-r2.ebuild index f4ddb494bf35..0c383fa01164 100644 --- a/sci-libs/rocFFT/rocFFT-5.7.1-r2.ebuild +++ b/sci-libs/rocFFT/rocFFT-5.7.1-r2.ebuild @@ -39,7 +39,7 @@ DEPEND="=dev-util/hip-5* dev-cpp/gtest dev-libs/boost >=sci-libs/fftw-3 - sys-libs/libomp + llvm-runtimes/openmp sci-libs/hipRAND:${SLOT}[${ROCM_USEDEP}] ) " diff --git a/sci-libs/rocFFT/rocFFT-6.1.1.ebuild b/sci-libs/rocFFT/rocFFT-6.1.1.ebuild index 99709902c496..d1289f597217 100644 --- a/sci-libs/rocFFT/rocFFT-6.1.1.ebuild +++ b/sci-libs/rocFFT/rocFFT-6.1.1.ebuild @@ -40,7 +40,7 @@ DEPEND="=dev-util/hip-6* dev-cpp/gtest dev-libs/boost >=sci-libs/fftw-3 - sys-libs/libomp + llvm-runtimes/openmp sci-libs/hipRAND:${SLOT}[${ROCM_USEDEP}] ) " diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest index 6c92164e7147..6df42e06027d 100644 --- a/sci-libs/symengine/Manifest +++ b/sci-libs/symengine/Manifest @@ -3,6 +3,6 @@ AUX symengine-0.7.0-cmake-build-type.patch 1234 BLAKE2B b416e9b83db5eb6689bb9e18 AUX symengine-0.8.1-fix_llvm.patch 2674 BLAKE2B f7d493318389f63a8b61f47ee2ba6429d205e91fec3f94a5c45a062622fa7b6c29ab410fb04a260d98f983402e4e74103ca591ea3aa035c68bd4e431dfde371f SHA512 683e9acac3f6304e2ac1d2c67304d1e6a2fc6915115a201a870e29253c804e378b39d8d00298a70ac5a4e1456a153febe69d63cfbab821b31cda46fc94782131 DIST symengine-0.11.1.tar.gz 898181 BLAKE2B ef14e09ceb7e9783711ca7f9f06a59362c40222e7f85de5545be834ecd79bbf41fcd34141bb3a63c106ee45067dd0b957377f937097183ffd5b93c6943976571 SHA512 076aac35428589c5b3524a46bd939a3a3a7da44b1c866b5f71487678b27b6e48b4da034029f1630881d7713a9252e905411a04b8016c9ec56a608b6de23365ac DIST symengine-0.12.0.tar.gz 898768 BLAKE2B 81bca3f59e864d2e37598a058cb4db97b1f9c8536ee841c10df6f01c6322fa744281ecdeb338e5bf33bf599ead66adcaaa724650535df9b3d4bd7f07e22a3ad2 SHA512 fbc73a75299c19155a09f1854888a5050150aaad5bc3df683d43e8036af8005f8152a36ae79029e00bc8422c3edd7252baaf3a0da6a21d1d754d80a44c5c68bf -EBUILD symengine-0.11.1.ebuild 2714 BLAKE2B 0d8f638d1ea0be177f79b7571d4d433fc12b48ed6d812d762fc9465e2c9c727840dc572f2026ef66c8b0ff87d2e86ab356de0964b60cdd9d1ff0d4dddf10b86e SHA512 08c697e06469b082e9a3cde4209b6daf4903fc67a7dd66d0cbbf55f7de4ec78b1c3bbd630bcec7644022785664e6ce3279c1605936d54038108ac232e60cb8eb -EBUILD symengine-0.12.0.ebuild 2474 BLAKE2B 2a56218ff88a68dd500e3c9357abe34fed4534580c543616c483c99135628a51174244c8f398c94900851dc275fbb6cf9c57ae07d567e55e8df860e7c568455b SHA512 f42f7ef86749d823162e3ea856ad34f652b4eb1799d9b405a6d4f65ae503bad27c44b4130cc5363841ba8bae925e5f97ed4a37261e448ca2b3ca1721bc9f716f +EBUILD symengine-0.11.1.ebuild 2714 BLAKE2B cbbfbae23bdb9e6d4b7430f836fc97c7705fb71ed51d9ed009f9d3ea192248581d9bf7eddd658f1a577c71dc84a184fc98111a1662899392e3bebcaa4f9ab183 SHA512 184878e9e6bdaf672b7a40bd07d2797840146bd820b1638ce3428f518a8ceb31b51f2c5d3d9959c8c542601c8f3c6c5387d79dd27ea6afccf3d964cac02fc989 +EBUILD symengine-0.12.0.ebuild 2474 BLAKE2B 8f2bf1b821e74abff81705e6889c8329e0cd584c020d2810cadddb5a3db0a9da88ee68ff48cf46138aeb97b2e20ed4c1ca5904f0eb0d1cb8a92d89b1c580401e SHA512 0a050721cfb402fdda35df3ebdd18f05f26ba3de736821dcf2f41ec312730e6b7c29314b190ce837ce1987f46820f4961d8bb0c586fbb1509779c88bb09594e2 MISC metadata.xml 1270 BLAKE2B e52ff12980457252a05195ef47bd90e52816794948169473a597e263d744d163cbe42d35e995243daf6b8664f1ed7d41879b63927606187277cdf503fc7bf846 SHA512 4fd6f340d1d4952774eb0fcd47d9ed6e9f145bd83ba7bd04fe428faa96ec63b6cd62173b6ead116a649471fe9b6466be7bbb48c8e534b3203f232f9a7bae12b9 diff --git a/sci-libs/symengine/symengine-0.11.1.ebuild b/sci-libs/symengine/symengine-0.11.1.ebuild index 9e1a6ceba0d5..5d03e6c71d71 100644 --- a/sci-libs/symengine/symengine-0.11.1.ebuild +++ b/sci-libs/symengine/symengine-0.11.1.ebuild @@ -26,7 +26,7 @@ RDEPEND=" flint? ( sci-mathematics/flint:= ) mpc? ( dev-libs/mpc:= ) mpfr? ( dev-libs/mpfr:= ) - llvm? (