mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
*/*: treeclean stale/unmaintained packages
Closes: https://bugs.gentoo.org/885347 Closes: https://bugs.gentoo.org/885345 Closes: https://bugs.gentoo.org/885343 Closes: https://bugs.gentoo.org/885341 Closes: https://bugs.gentoo.org/885339 Closes: https://bugs.gentoo.org/885337 Closes: https://bugs.gentoo.org/885335 Closes: https://bugs.gentoo.org/885331 Closes: https://bugs.gentoo.org/885329 Closes: https://bugs.gentoo.org/869230 Closes: https://bugs.gentoo.org/860975 Closes: https://bugs.gentoo.org/859664 Closes: https://bugs.gentoo.org/900362 Closes: https://bugs.gentoo.org/887439 Closes: https://bugs.gentoo.org/887433 Closes: https://bugs.gentoo.org/855116 Closes: https://bugs.gentoo.org/855107 Closes: https://bugs.gentoo.org/897656 Closes: https://bugs.gentoo.org/887955 Closes: https://bugs.gentoo.org/885293 Closes: https://bugs.gentoo.org/847322 Closes: https://bugs.gentoo.org/843524 Closes: https://bugs.gentoo.org/860012 Closes: https://bugs.gentoo.org/852032 Closes: https://bugs.gentoo.org/887193 Closes: https://bugs.gentoo.org/859646 Closes: https://bugs.gentoo.org/901025 Closes: https://bugs.gentoo.org/921735 Closes: https://bugs.gentoo.org/901027 Closes: https://bugs.gentoo.org/887209 Closes: https://bugs.gentoo.org/859649 Closes: https://bugs.gentoo.org/855125 Closes: https://bugs.gentoo.org/921751 Closes: https://bugs.gentoo.org/859673 Closes: https://bugs.gentoo.org/799449 Closes: https://bugs.gentoo.org/901127 Closes: https://bugs.gentoo.org/921740 Closes: https://bugs.gentoo.org/901163 Closes: https://bugs.gentoo.org/887313 Closes: https://bugs.gentoo.org/847325 Closes: https://bugs.gentoo.org/884553 Closes: https://bugs.gentoo.org/859700 Closes: https://bugs.gentoo.org/857633 Closes: https://bugs.gentoo.org/857630 Closes: https://bugs.gentoo.org/857627 Closes: https://bugs.gentoo.org/857624 Closes: https://bugs.gentoo.org/884565 Closes: https://bugs.gentoo.org/855080 Closes: https://bugs.gentoo.org/855119 Closes: https://bugs.gentoo.org/901167 Closes: https://bugs.gentoo.org/887413 Closes: https://bugs.gentoo.org/861707 Closes: https://bugs.gentoo.org/859715 Closes: https://bugs.gentoo.org/901179 Closes: https://bugs.gentoo.org/901181 Closes: https://bugs.gentoo.org/901141 Closes: https://bugs.gentoo.org/887435 Closes: https://bugs.gentoo.org/859718 Closes: https://bugs.gentoo.org/901177 Closes: https://bugs.gentoo.org/890893 Closes: https://bugs.gentoo.org/901185 Closes: https://bugs.gentoo.org/887445 Closes: https://bugs.gentoo.org/884579 Closes: https://bugs.gentoo.org/901193 Closes: https://bugs.gentoo.org/859724 Closes: https://bugs.gentoo.org/886629 Closes: https://bugs.gentoo.org/859730 Closes: https://bugs.gentoo.org/861974 Closes: https://bugs.gentoo.org/887511 Closes: https://bugs.gentoo.org/861977 Closes: https://bugs.gentoo.org/861980 Closes: https://bugs.gentoo.org/887513 Closes: https://bugs.gentoo.org/897392 Closes: https://bugs.gentoo.org/861983 Closes: https://bugs.gentoo.org/861986 Closes: https://bugs.gentoo.org/861989 Closes: https://bugs.gentoo.org/861992 Closes: https://bugs.gentoo.org/861995 Closes: https://bugs.gentoo.org/887515 Closes: https://bugs.gentoo.org/861998 Closes: https://bugs.gentoo.org/862001 Closes: https://bugs.gentoo.org/887517 Closes: https://bugs.gentoo.org/862004 Closes: https://bugs.gentoo.org/862007 Closes: https://bugs.gentoo.org/862010 Closes: https://bugs.gentoo.org/862013 Closes: https://bugs.gentoo.org/862016 Closes: https://bugs.gentoo.org/862079 Closes: https://bugs.gentoo.org/915488 Closes: https://bugs.gentoo.org/884693 Closes: https://bugs.gentoo.org/901149 Closes: https://bugs.gentoo.org/855278 Closes: https://bugs.gentoo.org/921779 Closes: https://bugs.gentoo.org/921885 Closes: https://bugs.gentoo.org/835485 Closes: https://bugs.gentoo.org/887659 Closes: https://bugs.gentoo.org/834741 Closes: https://bugs.gentoo.org/884695 Closes: https://bugs.gentoo.org/901297 Closes: https://bugs.gentoo.org/807703 Closes: https://bugs.gentoo.org/862957 Closes: https://bugs.gentoo.org/922022 Closes: https://bugs.gentoo.org/923917 Closes: https://bugs.gentoo.org/923916 Closes: https://bugs.gentoo.org/923918 Closes: https://bugs.gentoo.org/901287 Closes: https://bugs.gentoo.org/852047 Closes: https://bugs.gentoo.org/852035 Closes: https://bugs.gentoo.org/860333 Closes: https://bugs.gentoo.org/848039 Closes: https://bugs.gentoo.org/897650 Closes: https://bugs.gentoo.org/849071 Closes: https://bugs.gentoo.org/842342 Closes: https://bugs.gentoo.org/860471 Closes: https://bugs.gentoo.org/887953 Closes: https://bugs.gentoo.org/863371 Closes: https://bugs.gentoo.org/887951 Closes: https://bugs.gentoo.org/860459 Closes: https://bugs.gentoo.org/901407 Closes: https://bugs.gentoo.org/847352 Closes: https://bugs.gentoo.org/922042 Closes: https://bugs.gentoo.org/860462 Closes: https://bugs.gentoo.org/901409 Closes: https://bugs.gentoo.org/897652 Closes: https://bugs.gentoo.org/848021 Closes: https://bugs.gentoo.org/901405 Closes: https://bugs.gentoo.org/887959 Closes: https://bugs.gentoo.org/901411 Closes: https://bugs.gentoo.org/887961 Closes: https://bugs.gentoo.org/860465 Closes: https://bugs.gentoo.org/885291 Closes: https://bugs.gentoo.org/901413 Closes: https://bugs.gentoo.org/887967 Closes: https://bugs.gentoo.org/860468 Closes: https://bugs.gentoo.org/863377 Closes: https://bugs.gentoo.org/922043 Closes: https://bugs.gentoo.org/901425 Closes: https://bugs.gentoo.org/863380 Closes: https://bugs.gentoo.org/847319 Closes: https://bugs.gentoo.org/863383 Closes: https://bugs.gentoo.org/860474 Closes: https://bugs.gentoo.org/887989 Closes: https://bugs.gentoo.org/860477 Closes: https://bugs.gentoo.org/887991 Closes: https://bugs.gentoo.org/901427 Closes: https://bugs.gentoo.org/887993 Closes: https://bugs.gentoo.org/901429 Closes: https://bugs.gentoo.org/887997 Closes: https://bugs.gentoo.org/860480 Closes: https://bugs.gentoo.org/897654 Closes: https://bugs.gentoo.org/922047 Closes: https://bugs.gentoo.org/887999 Closes: https://bugs.gentoo.org/897664 Closes: https://bugs.gentoo.org/860531 Closes: https://bugs.gentoo.org/784665 Closes: https://bugs.gentoo.org/860525 Closes: https://bugs.gentoo.org/888003 Closes: https://bugs.gentoo.org/860537 Closes: https://bugs.gentoo.org/922052 Closes: https://bugs.gentoo.org/897662 Closes: https://bugs.gentoo.org/901421 Closes: https://bugs.gentoo.org/785535 Closes: https://bugs.gentoo.org/784644 Closes: https://bugs.gentoo.org/804831 Closes: https://bugs.gentoo.org/885365 Closes: https://bugs.gentoo.org/922053 Closes: https://bugs.gentoo.org/840707 Closes: https://bugs.gentoo.org/836142 Closes: https://bugs.gentoo.org/836153 Closes: https://bugs.gentoo.org/783675 Closes: https://bugs.gentoo.org/888005 Closes: https://bugs.gentoo.org/887879 Closes: https://bugs.gentoo.org/860528 Closes: https://bugs.gentoo.org/901417 Closes: https://bugs.gentoo.org/922055 Closes: https://bugs.gentoo.org/842807 Closes: https://bugs.gentoo.org/810287 Closes: https://bugs.gentoo.org/888007 Closes: https://bugs.gentoo.org/860540 Closes: https://bugs.gentoo.org/885373 Closes: https://bugs.gentoo.org/888011 Closes: https://bugs.gentoo.org/800995 Closes: https://bugs.gentoo.org/885375 Closes: https://bugs.gentoo.org/863758 Closes: https://bugs.gentoo.org/809320 Closes: https://bugs.gentoo.org/809440 Closes: https://bugs.gentoo.org/863779 Closes: https://bugs.gentoo.org/901431 Closes: https://bugs.gentoo.org/860774 Closes: https://bugs.gentoo.org/860768 Closes: https://bugs.gentoo.org/901433 Closes: https://bugs.gentoo.org/852989 Closes: https://bugs.gentoo.org/885367 Closes: https://bugs.gentoo.org/860771 Closes: https://bugs.gentoo.org/901435 Closes: https://bugs.gentoo.org/887881 Closes: https://bugs.gentoo.org/901437 Closes: https://bugs.gentoo.org/784668 Closes: https://bugs.gentoo.org/901439 Closes: https://bugs.gentoo.org/901419 Closes: https://bugs.gentoo.org/888017 Closes: https://bugs.gentoo.org/888019 Closes: https://bugs.gentoo.org/901441 Closes: https://bugs.gentoo.org/885377 Closes: https://bugs.gentoo.org/901443 Closes: https://bugs.gentoo.org/807115 Closes: https://bugs.gentoo.org/885363 Closes: https://bugs.gentoo.org/888021 Closes: https://bugs.gentoo.org/888023 Closes: https://bugs.gentoo.org/901445 Closes: https://bugs.gentoo.org/888015 Closes: https://bugs.gentoo.org/887921 Closes: https://bugs.gentoo.org/863821 Closes: https://bugs.gentoo.org/907907 Closes: https://bugs.gentoo.org/887883 Closes: https://bugs.gentoo.org/908948 Closes: https://bugs.gentoo.org/908947 Closes: https://bugs.gentoo.org/908951 Closes: https://bugs.gentoo.org/892694 Closes: https://bugs.gentoo.org/801016 Closes: https://bugs.gentoo.org/922082 Closes: https://bugs.gentoo.org/852260 Closes: https://bugs.gentoo.org/901451 Closes: https://bugs.gentoo.org/922083 Closes: https://bugs.gentoo.org/860777 Closes: https://bugs.gentoo.org/901449 Closes: https://bugs.gentoo.org/901453 Closes: https://bugs.gentoo.org/921785 Closes: https://bugs.gentoo.org/860969 Closes: https://bugs.gentoo.org/817227 Closes: https://bugs.gentoo.org/921788 Closes: https://bugs.gentoo.org/921789 Closes: https://bugs.gentoo.org/835527 Closes: https://bugs.gentoo.org/897414 Closes: https://bugs.gentoo.org/921781 Closes: https://bugs.gentoo.org/897430 Closes: https://bugs.gentoo.org/848720 Closes: https://bugs.gentoo.org/883173 Closes: https://bugs.gentoo.org/921800 Closes: https://bugs.gentoo.org/921803 Closes: https://bugs.gentoo.org/921804 Closes: https://bugs.gentoo.org/921807 Closes: https://bugs.gentoo.org/901479 Closes: https://bugs.gentoo.org/901483 Closes: https://bugs.gentoo.org/901151 Closes: https://bugs.gentoo.org/896028 Closes: https://bugs.gentoo.org/921783 Closes: https://bugs.gentoo.org/897432 Closes: https://bugs.gentoo.org/905472 Closes: https://bugs.gentoo.org/921810 Closes: https://bugs.gentoo.org/843485 Closes: https://bugs.gentoo.org/921816 Closes: https://bugs.gentoo.org/921818 Closes: https://bugs.gentoo.org/921825 Closes: https://bugs.gentoo.org/921822 Closes: https://bugs.gentoo.org/816654 Closes: https://bugs.gentoo.org/921775 Closes: https://bugs.gentoo.org/921777 Closes: https://bugs.gentoo.org/848723 Closes: https://bugs.gentoo.org/921853 Closes: https://bugs.gentoo.org/921895 Closes: https://bugs.gentoo.org/921855 Closes: https://bugs.gentoo.org/897506 Closes: https://bugs.gentoo.org/921857 Closes: https://bugs.gentoo.org/880013 Closes: https://bugs.gentoo.org/897542 Closes: https://bugs.gentoo.org/921864 Closes: https://bugs.gentoo.org/922915 Closes: https://bugs.gentoo.org/921897 Closes: https://bugs.gentoo.org/921900 Closes: https://bugs.gentoo.org/921865 Closes: https://bugs.gentoo.org/887637 Closes: https://bugs.gentoo.org/839306 Closes: https://bugs.gentoo.org/921868 Closes: https://bugs.gentoo.org/921869 Closes: https://bugs.gentoo.org/862082 Closes: https://bugs.gentoo.org/921873 Closes: https://bugs.gentoo.org/897588 Closes: https://bugs.gentoo.org/901221 Closes: https://bugs.gentoo.org/921808 Closes: https://bugs.gentoo.org/897590 Closes: https://bugs.gentoo.org/848549 Closes: https://bugs.gentoo.org/921876 Closes: https://bugs.gentoo.org/921878 Closes: https://bugs.gentoo.org/921879 Closes: https://bugs.gentoo.org/921880 Closes: https://bugs.gentoo.org/921797 Closes: https://bugs.gentoo.org/862765 Closes: https://bugs.gentoo.org/921780 Closes: https://bugs.gentoo.org/921881 Closes: https://bugs.gentoo.org/921813 Closes: https://bugs.gentoo.org/921784 Closes: https://bugs.gentoo.org/800076 Closes: https://bugs.gentoo.org/921884 Closes: https://bugs.gentoo.org/822456 Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="KVTree provides a fully extensible C data structure modeled after Perl hashes"
|
||||
HOMEPAGE="https://github.com/ECP-VeloC/KVTree"
|
||||
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="fcntl +flock mpi test"
|
||||
|
||||
RDEPEND="
|
||||
mpi? ( virtual/mpi )
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-admin/chrpath"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-no-install-readme.patch"
|
||||
"${FILESDIR}/${P}-no-static.patch"
|
||||
)
|
||||
REQUIRED_USE="?? ( fcntl flock )"
|
||||
RESTRICT="test? ( userpriv ) !test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local flock="NONE"
|
||||
use fcntl && flock="FCNTL"
|
||||
use flock && flock="FLOCK"
|
||||
|
||||
local mycmakeargs=(
|
||||
-DENABLE_TESTS=$(usex test)
|
||||
-DMPI="$(usex mpi ON OFF)"
|
||||
-DKVTREE_FILE_LOCK="${flock}"
|
||||
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DKVTREE_LINK_STATIC=FALSE
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
chrpath -d "${BUILD_DIR}/src/kvtree_print" || die
|
||||
cmake_src_install
|
||||
chrpath -d "${ED}/usr/$(get_libdir)/libkvtree.so" || die
|
||||
chrpath -d "${ED}/usr/$(get_libdir)/libkvtree_base.so" || die
|
||||
dodoc doc/rst/*.rst
|
||||
docinto "${DOCSDIR}/users"
|
||||
dodoc -r doc/rst/users/.
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="KVTree provides a fully extensible C data structure modeled after Perl hashes"
|
||||
HOMEPAGE="https://github.com/ECP-VeloC/KVTree"
|
||||
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="fcntl +flock mpi test"
|
||||
|
||||
RDEPEND="
|
||||
mpi? ( virtual/mpi )
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-admin/chrpath"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-no-install-readme.patch"
|
||||
"${FILESDIR}/${PN}-1.2.0-no-static.patch"
|
||||
)
|
||||
REQUIRED_USE="?? ( fcntl flock )"
|
||||
RESTRICT="test? ( userpriv ) !test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local flock="NONE"
|
||||
use fcntl && flock="FCNTL"
|
||||
use flock && flock="FLOCK"
|
||||
|
||||
local mycmakeargs=(
|
||||
-DENABLE_TESTS=$(usex test)
|
||||
-DMPI="$(usex mpi ON OFF)"
|
||||
-DKVTREE_FILE_LOCK="${flock}"
|
||||
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DKVTREE_LINK_STATIC=FALSE
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
chrpath -d "${BUILD_DIR}/src/kvtree_print" || die
|
||||
cmake_src_install
|
||||
chrpath -d "${ED}/usr/$(get_libdir)/libkvtree.so" || die
|
||||
chrpath -d "${ED}/usr/$(get_libdir)/libkvtree_base.so" || die
|
||||
dodoc doc/rst/*.rst
|
||||
docinto "${DOCSDIR}/users"
|
||||
dodoc -r doc/rst/users/.
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if mountpoint -q /dev/shm ; then
|
||||
cmake_src_test
|
||||
else
|
||||
eerror "make sure to mount /dev/shm or tests will fail"
|
||||
die
|
||||
fi
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST KVTree-1.2.0.tar.gz 61844 BLAKE2B 4bd7a975f3c2f510b7ade983c393ac86cb9bcb7216776fd59db8cc258f869f1157f5a08aee3c19fb8e23c796928b6b44c9e3dd95eee13c7e4a4c1fdf3b5d8f00 SHA512 ddc6f2b32bcf8e1a369a17b238d4454679f3a8a4fc1a9fa18e5317418cf73c7d0db2169b53513e15ad05e1f22c80cdd9d66cddbc8aa2ad2a1c95d4910b3d7f88
|
||||
DIST KVTree-1.3.0.tar.gz 62063 BLAKE2B 205d6cec078857846a6faa4544901e1d381e7e695fd7935ca690cabf9d65d51d5dda7a4ab5f9afd0ebb378ef6205d6982740ee71504e07f4db94be0775b8e27d SHA512 578c452e07ebf1df36f56fe740fac171535fc8ab421f1f211eab89438207a459b2376b2b645b6ca393f1c5c1c484fbfd467230598b1a4e785e429e521c5c22fd
|
||||
@@ -1,47 +0,0 @@
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -57,16 +57,6 @@
|
||||
INSTALL(TARGETS kvtree DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
ENDIF()
|
||||
|
||||
-ADD_LIBRARY(kvtree-static STATIC $<TARGET_OBJECTS:kvtree_o>)
|
||||
-IF(KVTREE_LINK_STATIC)
|
||||
- SET_TARGET_PROPERTIES(kvtree-static PROPERTIES LINK_SEARCH_START_STATIC 1)
|
||||
- SET_TARGET_PROPERTIES(kvtree-static PROPERTIES LINK_SEARCH_END_STATIC 1)
|
||||
-ENDIF(KVTREE_LINK_STATIC)
|
||||
-TARGET_LINK_LIBRARIES(kvtree-static ${KVTREE_EXTERNAL_LIBS})
|
||||
-
|
||||
-SET_TARGET_PROPERTIES(kvtree-static PROPERTIES OUTPUT_NAME kvtree CLEAN_DIRECT_OUTPUT 1)
|
||||
-INSTALL(TARGETS kvtree-static DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
-
|
||||
# KVTREE base Library (no MPI)
|
||||
ADD_LIBRARY(kvtree_noMPI_o OBJECT ${libkvtree_noMPI_srcs})
|
||||
|
||||
@@ -77,16 +67,6 @@
|
||||
INSTALL(TARGETS kvtree_base DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
ENDIF(BUILD_SHARED_LIBS)
|
||||
|
||||
-ADD_LIBRARY(kvtree_base-static STATIC $<TARGET_OBJECTS:kvtree_noMPI_o>)
|
||||
-IF(KVTREE_LINK_STATIC)
|
||||
- SET_TARGET_PROPERTIES(kvtree_base-static PROPERTIES LINK_SEARCH_START_STATIC 1)
|
||||
- SET_TARGET_PROPERTIES(kvtree_base-static PROPERTIES LINK_SEARCH_END_STATIC 1)
|
||||
-ENDIF(KVTREE_LINK_STATIC)
|
||||
-TARGET_LINK_LIBRARIES(kvtree_base-static ${KVTREE_SERIAL_LIBS})
|
||||
-
|
||||
-SET_TARGET_PROPERTIES(kvtree_base-static PROPERTIES OUTPUT_NAME kvtree_base CLEAN_DIRECT_OUTPUT 1)
|
||||
-INSTALL(TARGETS kvtree_base-static DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
-
|
||||
###########
|
||||
# CLI KVTREE #
|
||||
###########
|
||||
@@ -99,10 +79,6 @@
|
||||
# Build and install C binaries
|
||||
FOREACH(bin IN ITEMS ${clikvtree_c_bins})
|
||||
ADD_EXECUTABLE(${bin} ${bin}.c)
|
||||
- IF(KVTREE_LINK_STATIC)
|
||||
- TARGET_LINK_LIBRARIES(${bin} kvtree-static)
|
||||
- ELSE()
|
||||
TARGET_LINK_LIBRARIES(${bin} kvtree)
|
||||
- ENDIF()
|
||||
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${bin} DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
ENDFOREACH(bin IN ITEMS ${clikvtree_c_bins})
|
||||
@@ -1,12 +0,0 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -87,9 +87,6 @@
|
||||
SET_SOURCE_FILES_PROPERTIES(config.h.in PROPERTIES GENERATED FALSE)
|
||||
SET_SOURCE_FILES_PROPERTIES(${PROJECT_BINARY_DIR}/config.h PROPERTIES GENERATED TRUE)
|
||||
|
||||
-# Special Install Files
|
||||
-INSTALL(FILES README.md DESTINATION ${CMAKE_INSTALL_DATADIR}/kvtree)
|
||||
-
|
||||
# Package
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "KV Storage Library for Perl style hashes")
|
||||
SET(CPACK_PACKAGE_VENDOR "Lawrence Livermore National Laboratory")
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ECP-VeloC/KVTree</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="fcntl">Set the type of file locking to fcntl.</flag>
|
||||
<flag name="flock">Set the type of file locking to flock.</flag>
|
||||
</use>
|
||||
<longdescription lang="en">Each KVTree object contains a list of key/value pairs. Each key is a string, each value is another kvtree object. This is a nested data structures, similar to a python dict or perl hash. The library provides functions to serialize a kvtree object to / from a file. It also optionally provides MPI send / recv functions to transfer an object from one process to another.
|
||||
In addition to getter and setter utilities, this library provides serialization (for persisting an KVTree to a file) and optional MPI functionality.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST atl-2.2.1.gh.tar.gz 36765 BLAKE2B 6bba939452f86e1021555e860704a76a28f99dee575d8d3ea8bd431ff2b37ac27bf60745af625fd69980d8bfea46d620f5de7a2d68371a4bbaba06bab8a3f331 SHA512 c0372fa1e16e674a6d079dfd783a383bea4283c6b25e379d94e09100ae3c9195112fdade2551e16e435475e04af9086f51a370181d93c6c927677c7f14de5a61
|
||||
@@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Library for the creation and manipulation of lists"
|
||||
HOMEPAGE="https://github.com/GTkorvo/atl"
|
||||
SRC_URI="https://github.com/GTKorvo/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test +utilities"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DATL_INSTALL_HEADERS=ON
|
||||
-DATL_INSTALL_PKGCONFIG=ON
|
||||
-DATL_QUIET=OFF
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
|
||||
-DATL_LIBRARIES_ONLY=$(usex utilities 'OFF' 'ON')
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/GTKorvo/atl/issues</bugs-to>
|
||||
<remote-id type="github">GTKorvo/atl</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="utilities">Build utilities</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST cubelib-4.7.tar.gz 6163552 BLAKE2B e07e78011501fe19240f22133cf9a9202176ca21410412be19674d43e8177ce7683cb19414eacacf6a56f261602414db55ba65abc8948846c1dbbc0737636fc9 SHA512 cf328b3300170ba832bda13374f7e8e59a920308fc1604f03eb5f172ab6dd6d3ccd0b6517eb68bf58b07a08174dded0f80fe7f37ca63727ce397e095801864f1
|
||||
@@ -1,95 +0,0 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="General purpose C++ library and tools"
|
||||
HOMEPAGE="https://www.scalasca.org/scalasca/software/cube-4.x"
|
||||
SRC_URI="https://apps.fz-juelich.de/scalasca/releases/cube/${PV}/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE_CUBELIB_STRATEGY="
|
||||
+cubelib_strategy_keepall
|
||||
cubelib_strategy_preload
|
||||
cubelib_strategy_manual
|
||||
cubelib_strategy_lastn
|
||||
"
|
||||
IUSE="R ${IUSE_CUBELIB_STRATEGY}"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/binutils-libs
|
||||
sys-libs/zlib
|
||||
R? (
|
||||
dev-lang/R
|
||||
dev-R/Rcpp
|
||||
dev-R/RInside
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/gtest
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/flex
|
||||
app-alternatives/yacc
|
||||
"
|
||||
|
||||
REQUIRED_USE="^^ ( ${IUSE_CUBELIB_STRATEGY/+/} )"
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC CXX AR F77 FC CPP
|
||||
|
||||
cat > build-config/common/platforms/platform-backend-user-provided <<-EOF || die
|
||||
CC=${CC}
|
||||
CXX=${CXX}
|
||||
FC=${FC}
|
||||
F77=${F77}
|
||||
CPP=${CPP}
|
||||
CXXCPP=${CPP}
|
||||
CC_FOR_BUILD=${CC}
|
||||
CXX_FOR_BUILD=${CXX}
|
||||
FC_FOR_BUILD=${FC}
|
||||
F77_FOR_BUILD=${F77}
|
||||
CFLAGS_FOR_BUILD=${CFLAGS}
|
||||
CXXFLAGS_FOR_BUILD=${CXXFLAGS}
|
||||
FFLAGS_FOR_BUILD=${FFLAGS}
|
||||
FCFLAGS_FOR_BUILD=${FCFLAGS}
|
||||
LDFLAGS_FOR_BUILD=${LDFLAGS}
|
||||
CPPFLAGS_FOR_BUILD=${CPPFLAGS}
|
||||
EOF
|
||||
|
||||
rm -r vendor/googletest || die
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use cubelib_strategy_keepall && strategy="keepall"
|
||||
use cubelib_strategy_preload && strategy="preload"
|
||||
use cubelib_strategy_manual && strategy="manual"
|
||||
use cubelib_strategy_lastn && strategy="lastn"
|
||||
|
||||
local myconf=(
|
||||
--disable-platform-mic
|
||||
--with-compression=full
|
||||
--with-custom-compilers
|
||||
--with-strategy="${strategy}"
|
||||
--with-system-parser
|
||||
$(use_with R cube_dump_r)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
mv "${ED}/usr/share/doc/cubelib/example" "${ED}/usr/share/doc/${PF}/" || die
|
||||
rm -r "${ED}/usr/share/doc/cubelib" || die
|
||||
dodoc OPEN_ISSUES README
|
||||
docompress -x "/usr/share/doc/${PF}/example"
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="R">Use R for cube_dump</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST cubew-4.7.tar.gz 1347200 BLAKE2B 5083ca74a1125e81bc2a5493bb26119bbb478a16847cc4ef3cf6afbad9289bcffff8a0bc2b480b9cf711560d33f5a7fa207b7a20ffde343eac8e05385d3e778f SHA512 21bfef1fadb93d6089503ee86b54bbd2aca67a3a0f33ad64a1bd50b507dbf1a3047b4a454f9225f0379353d31f74e4b6a3a6851b776f44bd0ececb3322466f3d
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="High performance C Writer library"
|
||||
HOMEPAGE="https://www.scalasca.org/scalasca/software/cube-4.x"
|
||||
SRC_URI="https://apps.fz-juelich.de/scalasca/releases/cube/${PV}/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="advanced-memory memory-tracking memory-tracing +zlib"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/binutils-libs
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
REQUIRED_USE="
|
||||
memory-tracking? ( advanced-memory )
|
||||
memory-tracing? ( advanced-memory )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC CXX AR F77 FC CPP
|
||||
|
||||
cat > build-config/common/platforms/platform-backend-user-provided <<-EOF || die
|
||||
CC=${CC}
|
||||
CXX=${CXX}
|
||||
FC=${FC}
|
||||
F77=${F77}
|
||||
CPP=${CPP}
|
||||
CXXCPP=${CPP}
|
||||
CC_FOR_BUILD=${CC}
|
||||
CXX_FOR_BUILD=${CXX}
|
||||
FC_FOR_BUILD=${FC}
|
||||
F77_FOR_BUILD=${F77}
|
||||
CFLAGS_FOR_BUILD=${CFLAGS}
|
||||
CXXFLAGS_FOR_BUILD=${CXXFLAGS}
|
||||
FFLAGS_FOR_BUILD=${FFLAGS}
|
||||
FCFLAGS_FOR_BUILD=${FCFLAGS}
|
||||
LDFLAGS_FOR_BUILD=${LDFLAGS}
|
||||
CPPFLAGS_FOR_BUILD=${CPPFLAGS}
|
||||
EOF
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--disable-platform-mic
|
||||
--with-custom-compilers
|
||||
$(use_with advanced-memory)
|
||||
$(use_with memory-tracking)
|
||||
$(use_with memory-tracing)
|
||||
$(use_with zlib compression)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
mv "${ED}/usr/share/doc/cubew" "${ED}/usr/share/doc/${PF}" || die
|
||||
dodoc OPEN_ISSUES README
|
||||
docompress -x "${ED}/usr/share/doc/${PF}/example"
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="advanced-memory">Enables advanced memory features such as usage of an external memory allocator</flag>
|
||||
<flag name="memory-tracking">Enables internal memory tracking</flag>
|
||||
<flag name="memory-tracing">Enables internal memory tracing more intensive memory usage report.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST dill-2.4.1.gh.tar.gz 209181 BLAKE2B 508dc8c59744f41acca24817f63bdb6efa15cf4674cd0cb36a2b09a80ae6ecb603ee45a54e0ede23558e982b25ddc06c0a7f2e1463e63b9decc4aa1b9dbd7c42 SHA512 8acdf80a59696ef45453dd677f13dce7aada9ac81bddab7a36f70b23644b8d507dba64576410fe87a5359d7a73df416302522823898e7b807ffb277d3363b54e
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Provides instruction-level code generation directly into memory regions"
|
||||
HOMEPAGE="https://github.com/GTkorvo/dill"
|
||||
SRC_URI="https://github.com/GTKorvo/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="disassembly ignore-native multitarget test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libffi
|
||||
disassembly? ( sys-libs/binutils-libs )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
sys-devel/binutils
|
||||
dev-lang/perl
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DDILL_INSTALL_PKGCONFIG=ON
|
||||
-DDILL_INSTALL_HEADERS=ON
|
||||
-DDILL_QUIET=OFF
|
||||
-DLIBFFI_INTERNAL=OFF
|
||||
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
-DDILL_ENABLE_DISASSEMBLY=$(usex disassembly)
|
||||
-DDILL_IGNORE_NATIVE=$(usex ignore-native)
|
||||
-DDILL_MULTI_TARGET=$(usex multitarget)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/GTKorvo/atl/issues</bugs-to>
|
||||
<remote-id type="github">GTKorvo/atl</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="disassembly">Enable binutils-based disassembly</flag>
|
||||
<flag name="ignore-native">Build to do emulation, regardless of architecture</flag>
|
||||
<flag name="multitarget">Build all available target architectures</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST dyninst-11.0.1.tar.gz 9059074 BLAKE2B 5ef230d8c5c3253aa54c01387fbb8c6f1d57ea43cb7779e3761306c916cbcd00999ee48cb6d76daba3af45dca6388dcc4c71b527f176039a32130c1ef8f6d074 SHA512 9c439be0252edae0ed3fcfa05b38595b614a91b6627afa85db126df32d5c5de5dc9413a70caf52bee7ac2349d24947626f6370f0dbf19413916c39e01679444f
|
||||
DIST dyninst-12.1.0.tar.gz 8572639 BLAKE2B 74c835a3c6c6cc9a90d416fff0ea3b4039a55941cb3a7fd63cebd19420a690d6b4fd3d574b728cc9cac53034a6075ffe2a6e9885a7aa87e2d9d0fd798f5e9a29 SHA512 ec09b83f288afefd6a30a3253c91554d421305a43c2f2384435207dcabf523d5498d64873f876817c3108c3fc0a43fd4c48ce2c1ca873c73fb98a2d823446549
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Tools for binary instrumentation, analysis, and modification"
|
||||
HOMEPAGE="
|
||||
https://dyninst.org/dyninst
|
||||
https://github.com/dyninst/dyninst
|
||||
"
|
||||
SRC_URI="https://github.com/dyninst/dyninst/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc openmp valgrind"
|
||||
|
||||
RDEPEND="
|
||||
<dev-cpp/tbb-2021
|
||||
dev-libs/boost:=
|
||||
virtual/libelf
|
||||
virtual/mpi
|
||||
valgrind? ( dev-debug/valgrind )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="doc? ( dev-texlive/texlive-latex )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-remove-executable-flag-from-dyninst_heap-section.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_STATIC_LIBS=NO
|
||||
-DSTERILE_BUILD=YES
|
||||
|
||||
-DADD_VALGRIND_ANNOTATIONS=$(usex valgrind)
|
||||
-DBUILD_DOCS=$(usex doc)
|
||||
-DUSE_OpenMP=$(usex openmp)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
einstalldocs
|
||||
if use doc; then
|
||||
mv "${ED}"/usr/share/doc/*.pdf "${ED}/usr/share/doc/${PF}" || die
|
||||
fi
|
||||
|
||||
if [[ ! -e "${ED}/usr/$(get_libdir)" ]]; then
|
||||
mv "${ED}/usr/lib" "${ED}/usr/$(get_libdir)" || die
|
||||
fi
|
||||
|
||||
mkdir -p "${ED}/usr/include/dyninst" || die
|
||||
mv "${ED}"/usr/include/*.h* "${ED}/usr/include/dyninst" || die
|
||||
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
}
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Tools for binary instrumentation, analysis, and modification"
|
||||
HOMEPAGE="
|
||||
https://dyninst.org/dyninst
|
||||
https://github.com/dyninst/dyninst
|
||||
"
|
||||
SRC_URI="https://github.com/dyninst/dyninst/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc openmp valgrind"
|
||||
|
||||
RDEPEND="
|
||||
<dev-cpp/tbb-2021
|
||||
dev-libs/boost:=
|
||||
virtual/libelf
|
||||
virtual/mpi
|
||||
valgrind? ( dev-debug/valgrind )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="doc? ( dev-texlive/texlive-latex )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_STATIC_LIBS=NO
|
||||
-DSTERILE_BUILD=ON
|
||||
|
||||
-DADD_VALGRIND_ANNOTATIONS=$(usex valgrind)
|
||||
-DBUILD_DOCS=$(usex doc)
|
||||
-DUSE_OpenMP=$(usex openmp)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
einstalldocs
|
||||
if use doc; then
|
||||
mv "${ED}"/usr/share/doc/*.pdf "${ED}/usr/share/doc/${PF}" || die
|
||||
fi
|
||||
|
||||
if [[ ! -e "${ED}/usr/$(get_libdir)" ]]; then
|
||||
mv "${ED}/usr/lib" "${ED}/usr/$(get_libdir)" || die
|
||||
fi
|
||||
|
||||
mkdir -p "${ED}/usr/include/dyninst" || die
|
||||
mv "${ED}"/usr/include/*.h* "${ED}/usr/include/dyninst" || die
|
||||
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
From f27f96cee0b73f770cf69cb98a5744f769014ee5 Mon Sep 17 00:00:00 2001
|
||||
From: "James A. Kupsch" <kupsch@cs.wisc.edu>
|
||||
Date: Mon, 30 Aug 2021 10:18:17 -0500
|
||||
Subject: [PATCH] remove executable flag from .dyninst_heap section
|
||||
|
||||
This prevents the library/object with this code from having a segment violates
|
||||
the W^X security property for segments as the current setting resulted in
|
||||
segment with both the WRITE and EXECUTE flags set. The function
|
||||
mark_heaps_exec() restores execute protection to just the heap arrays.
|
||||
--- a/dyninstAPI_RT/src/RTspace.S
|
||||
+++ b/dyninstAPI_RT/src/RTspace.S
|
||||
@@ -8,7 +8,7 @@
|
||||
.type DYNINSTstaticHeap_16M_anyHeap_1, @object
|
||||
.size DYNINSTstaticHeap_16M_anyHeap_1, 16777216
|
||||
|
||||
-.section .dyninst_heap,"awx",@nobits
|
||||
+.section .dyninst_heap,"aw",@nobits
|
||||
.align 16
|
||||
DYNINSTstaticHeap_512K_lowmemHeap_1:
|
||||
.skip 524288
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">dyninst/dyninst</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="openmp">Enable parallel code parsing</flag>
|
||||
<!--<flag name="rtlib">Build the RT library as a separate project so we can change compilers</flag>-->
|
||||
<flag name="valgrind">Enable annotations for Valgrind analysis</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST ffs-1.6.0_p20220525.gh.tar.gz 1217976 BLAKE2B 11923975d9870c8c6454572e0a8de45d5bc5217d27f3705cf7a4ed117048a8c49ce56e2f3618b09f20dc77c6706e7dacf46dfa0eb047fde97612dbb54cc04ac8 SHA512 e320b4f380b1799cd2fe7f65a1a7ba6aed9766965b7cd1c71221ab788f95ae981ad51d89d13969c25d77295eab8b3cc3b00f79b14376058ca9926a17f5e73b48
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
COMMIT="25f9621a8a983f0e4e85a694290ab9624dd2c2bc"
|
||||
|
||||
DESCRIPTION="FFS is a middleware library for data communication"
|
||||
HOMEPAGE="https://github.com/GTkorvo/ffs"
|
||||
SRC_URI="https://github.com/GTKorvo/${PN}/archive/${COMMIT}.tar.gz -> ${PF}.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+atl test"
|
||||
|
||||
RDEPEND="
|
||||
atl? ( dev-libs/atl )
|
||||
dev-libs/dill
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
PROPERTIES="test_network"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DFFS_INSTALL_PKGCONFIG=ON
|
||||
-DFFS_INSTALL_HEADERS=ON
|
||||
-DFFS_QUIET=OFF
|
||||
|
||||
-DFFS_USE_ATL=$(usex atl)
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/GTKorvo/ffs/issues</bugs-to>
|
||||
<remote-id type="github">GTKorvo/ffs</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="atl">Enable the use of ATL</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST kwsys-c28e27bc4ad8e12d88b05f30eec19b2987c60721.tar.bz2 184328 BLAKE2B 3d0c4286207cbd4d04d2c7850294dfa46ca1cb1474fa71353e05d3c5be982ed0103b9e27f790d8e4d7a001d0e375cf203aad6a8a659175529a45d0cf09edc36e SHA512 c1c162b6de0fd28dcc99804de6c1835e31fe8cd2e5f2ec5b56fd71ed3425e075d4fe7eaef3faa14501a6bed3f584c1076e69b25ec3b648fd3b8a54d4a3262971
|
||||
@@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
COMMIT="c28e27bc4ad8e12d88b05f30eec19b2987c60721"
|
||||
|
||||
DESCRIPTION="Kitware System Library"
|
||||
HOMEPAGE="https://gitlab.kitware.com/utils/kwsys"
|
||||
SRC_URI="https://gitlab.kitware.com/utils/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DKWSYS_INSTALL_BIN_DIR=bin
|
||||
-DKWSYS_INSTALL_INCLUDE_DIR=include
|
||||
-DKWSYS_INSTALL_LIB_DIR=$(get_libdir)
|
||||
-DKWSYS_STANDALONE=ON
|
||||
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST libnodave-0.8.5.1.tar.gz 3869449 BLAKE2B e3f9cc0c271d61e28d2f985181751da862f1235166ea82742b357528a896940891e420ca02c2abfcb8dc2a886e8086df3f27ca1765914f3402bfda618eda9a37 SHA512 0e226a3d3256076d6c32930e7be07f0fc62beac797e143bf871d876c172c2d2ff3a3e66e8c2a978fd4caee006e9b736f9633922a9f46728d96f70b07a395ff55
|
||||
@@ -1,152 +0,0 @@
|
||||
--- a/Makefile 2021-04-19 17:10:57.282266311 +0200
|
||||
+++ b/Makefile 2021-04-19 17:27:25.063629828 +0200
|
||||
@@ -13,9 +13,9 @@
|
||||
# To test with g++ which does stricter type checking:
|
||||
#
|
||||
##CC=g++
|
||||
-CFLAGS=-Wall -Winline -DLINUX -DDAVE_LITTLE_ENDIAN
|
||||
+CFLAGS+=-Wall -Winline
|
||||
CTFLAGS=-Wall -Winline -fPID -DLINUX -DDAVE_LITTLE_ENDIAN
|
||||
-CPPFLAGS=-Wall -Winline -DLINUX -DDAVE_LITTLE_ENDIAN
|
||||
+CPPFLAGS+=-DLINUX -DDAVE_LITTLE_ENDIAN
|
||||
#
|
||||
# The following is needed to enable workarounds for statements that do
|
||||
# not work on (some?) ARM processors:
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
DYNAMIC_PROGRAMS=testMPId testPPId testISO_TCPd
|
||||
|
||||
-LIBRARIES=libnodave.so
|
||||
+LIBRARIES=libnodave.so
|
||||
|
||||
|
||||
all: $(PROGRAMS) $(LIBRARIES)
|
||||
@@ -72,74 +72,74 @@
|
||||
testPPI_IBHload.o: nodave.h
|
||||
testNLpro.o: benchmark.c nodavesimple.h
|
||||
|
||||
-testISO_TCP: nodave.o openSocket.o testISO_TCP.o
|
||||
- $(CC) $(LDFLAGS) nodave.o openSocket.o testISO_TCP.o -o testISO_TCP
|
||||
-testISO2: nodave.o openSocket.o testISO2.o
|
||||
- $(CC) $(LDFLAGS) nodave.o openSocket.o testISO2.o -o testISO2
|
||||
-testISO_TCPd: nodave.o openSocket.o testISO_TCP.o
|
||||
- $(CC) -lnodave testISO_TCP.o -o testISO_TCPd
|
||||
-testPPIload: nodave.o setport.o testPPIload.o
|
||||
- $(CC) $(LDFLAGS) nodave.o setport.o testPPIload.o -o testPPIload
|
||||
-testMPI: setport.o testMPI.o nodave.o
|
||||
- $(CC) $(LDFLAGS) setport.o nodave.o testMPI.o -o testMPI
|
||||
-testMPImin: setport.o testMPImin.o nodave.o
|
||||
- $(CC) $(LDFLAGS) setport.o nodave.o testMPImin.o -o testMPImin
|
||||
-testMPId: setport.o testMPI.o nodave.o
|
||||
- $(CC) -lnodave testMPI.o -o testMPId
|
||||
-testMPIload: nodave.o setport.o testMPIload.o
|
||||
- $(CC) $(LDFLAGS) nodave.o setport.o testMPIload.o -o testMPIload
|
||||
-testMPI_IBHload: nodave.o openSocket.o testMPI_IBHload.o
|
||||
- $(CC) $(LDFLAGS) nodave.o openSocket.o testMPI_IBHload.o -o testMPI_IBHload
|
||||
-testPPI: nodave.o setport.o testPPI.o
|
||||
- $(CC) $(LDFLAGS) nodave.o setport.o testPPI.o -o testPPI
|
||||
-testPPId: nodave.o setport.o testPPI.o
|
||||
- $(CC) -lnodave testPPI.o -o testPPId
|
||||
-testISO_TCPload: nodave.o openSocket.o testISO_TCPload.o
|
||||
- $(CC) $(LDFLAGS) nodave.o openSocket.o testISO_TCPload.o -o testISO_TCPload
|
||||
-testIBH: openSocket.o testIBH.o nodave.o
|
||||
- $(CC) $(LDFLAGS) openSocket.o nodave.o testIBH.o -o testIBH
|
||||
-testPPI_IBH: openSocket.o testPPI_IBH.o nodave.o
|
||||
- $(CC) $(LDFLAGS) openSocket.o nodave.o testPPI_IBH.o -o testPPI_IBH
|
||||
-testPPI_IBHload: openSocket.o testPPI_IBHload.o nodave.o
|
||||
- $(CC) $(LDFLAGS) openSocket.o nodave.o testPPI_IBHload.o -o testPPI_IBHload
|
||||
-testPPIcpp: nodave.o setport.o testPPIcpp.o
|
||||
- $(CC) $(LDFLAGS) nodave.o setport.o testPPIcpp.o -o testPPIcpp
|
||||
-testMPI2: setport.o testMPI2.o nodave.o nodaveext.o
|
||||
- $(CC) $(LDFLAGS) setport.o nodave.o nodaveext.o testMPI2.o -o testMPI2
|
||||
-testAS511: setport.o testAS511.o nodave.o
|
||||
- $(CC) $(LDFLAGS) setport.o nodave.o testAS511.o -o testAS511
|
||||
-testUSB: testUSB.o nodave.o usbGlue.o usbGlue.h
|
||||
- $(CC) $(LDFLAGS) nodave.o testUSB.o usbGlue.o -lusb -o testUSB
|
||||
-testNLpro: openSocket.o testNLpro.o nodave.o
|
||||
- $(CC) $(LDFLAGS) openSocket.o nodave.o testNLpro.o -o testNLpro
|
||||
+testISO_TCP: libnodave.so testISO_TCP.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testISO_TCP.o -o testISO_TCP -lnodave
|
||||
+testISO2: libnodave.so testISO2.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testISO2.o -o testISO2 -lnodave
|
||||
+testISO_TCPd: libnodave.so testISO_TCP.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE -lnodave testISO_TCP.o -o testISO_TCPd -lnodave
|
||||
+testPPIload: libnodave.so testPPIload.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testPPIload.o -o testPPIload -lnodave
|
||||
+testMPI: testMPI.o libnodave.so
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testMPI.o -o testMPI -lnodave
|
||||
+testMPImin: testMPImin.o libnodave.so
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testMPImin.o -o testMPImin -lnodave
|
||||
+testMPId: testMPI.o libnodave.so
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE -lnodave testMPI.o -o testMPId -lnodave
|
||||
+testMPIload: libnodave.so testMPIload.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testMPIload.o -o testMPIload -lnodave
|
||||
+testMPI_IBHload: libnodave.so testMPI_IBHload.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testMPI_IBHload.o -o testMPI_IBHload -lnodave
|
||||
+testPPI: libnodave.so testPPI.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testPPI.o -o testPPI -lnodave
|
||||
+testPPId: libnodave.so testPPI.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE -lnodave testPPI.o -o testPPId -lnodave
|
||||
+testISO_TCPload: libnodave.so testISO_TCPload.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testISO_TCPload.o -o testISO_TCPload -lnodave
|
||||
+testIBH: testIBH.o libnodave.so
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testIBH.o -o testIBH -lnodave
|
||||
+testPPI_IBH: testPPI_IBH.o libnodave.so
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testPPI_IBH.o -o testPPI_IBH -lnodave
|
||||
+testPPI_IBHload: testPPI_IBHload.o libnodave.so
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testPPI_IBHload.o -o testPPI_IBHload -lnodave
|
||||
+testPPIcpp: libnodave.so testPPIcpp.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testPPIcpp.o -o testPPIcpp -lnodave
|
||||
+testMPI2: testMPI2.o libnodave.so nodaveext.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE nodaveext.o testMPI2.o -o testMPI2 -lnodave
|
||||
+testAS511: testAS511.o libnodave.so
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testAS511.o -o testAS511 -lnodave
|
||||
+testUSB: testUSB.o libnodave.so usbGlue.o usbGlue.h
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testUSB.o usbGlue.o -lusb -o testUSB -lnodave
|
||||
+testNLpro: testNLpro.o libnodave.so
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testNLpro.o -o testNLpro -lnodave
|
||||
crc: crc.o
|
||||
- $(CC) $(LDFLAGS) crc.o -o crc
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE crc.o -o crc
|
||||
crc3: crc3.o
|
||||
- $(CC) $(LDFLAGS) crc3.o -o crc3
|
||||
-testHTTP: nodave.o openSocket.o testHTTP.o
|
||||
- $(CC) $(LDFLAGS) nodave.o openSocket.o testHTTP.o -o testHTTP
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE crc3.o -o crc3
|
||||
+testHTTP: libnodave.so testHTTP.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE testHTTP.o -o testHTTP -lnodave
|
||||
ibhsim9.o: simProperties2.c blocklist.h
|
||||
-ibhsim9: ibhsim9.o nodave.h nodave.o openSocket.o openSocket.h blocklist.o blocklist2.o setport.o
|
||||
- $(CC) -lpthread ibhsim9.o openSocket.o nodave.o blocklist.o blocklist2.o setport.o -o ibhsim9
|
||||
+ibhsim9: ibhsim9.o nodave.h libnodave.so openSocket.h blocklist.o blocklist2.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE -lpthread ibhsim9.o blocklist.o blocklist2.o -o ibhsim9 -lnodave
|
||||
ibhsim10.o: simProperties2.c blocklist.h
|
||||
-ibhsim10: ibhsim10.o nodave.h nodave.o openSocket.o openSocket.h blocklist.o blocklist2.o setport.o emulator.o
|
||||
- $(CC) -lm -lpthread ibhsim10.o openSocket.o nodave.o blocklist.o blocklist2.o setport.o emulator.o -o ibhsim10
|
||||
+ibhsim10: ibhsim10.o nodave.h libnodave.so openSocket.h blocklist.o blocklist2.o emulator.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE -lm -lpthread ibhsim10.o blocklist.o blocklist2.o emulator.o -o ibhsim10 -lnodave
|
||||
|
||||
|
||||
|
||||
libnodave.so: nodave.o setport.o openSocket.o
|
||||
- $(LD) -shared nodave.o setport.o openSocket.o -o libnodave.so
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIC -shared nodave.o setport.o openSocket.o -Wl,-soname,libnodave.so.0 -o libnodave.so.0
|
||||
|
||||
#
|
||||
# for some reason, -lpthread now has to be at the end of the linker command line...05/17/2013
|
||||
#
|
||||
ibhsim5.o: simProperties.c
|
||||
-ibhsim5: ibhsim5.o nodave.h nodave.o openSocket.o openSocket.h
|
||||
- $(CC) ibhsim5.o openSocket.o nodave.o -lpthread -o ibhsim5
|
||||
-isotest4: isotest4.o openSocket.o nodave.o nodave.h
|
||||
- $(CC) $(LDFLAGS) isotest4.o openSocket.o nodave.o $(LIB) -lpthread -o isotest4
|
||||
+ibhsim5: ibhsim5.o nodave.h libnodave.so openSocket.h
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE ibhsim5.o -lpthread -o ibhsim5 -lnodave
|
||||
+isotest4: isotest4.o libnodave.so nodave.h
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE isotest4.o $(LIB) -lpthread -o isotest4 -lnodave
|
||||
|
||||
-clean:
|
||||
+clean:
|
||||
rm -f $(DYNAMIC_PROGRAMS)
|
||||
rm -f $(PROGRAMS)
|
||||
rm -f *.o
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/PERL/Makefile.PL 2021-04-19 17:30:19.964446618 +0200
|
||||
+++ b/PERL/Makefile.PL 2021-04-19 17:30:47.392884824 +0200
|
||||
@@ -11,7 +11,7 @@
|
||||
AUTHOR => 'Thomas Hergenhahn <thomas.hergenhahn@web,de>') : ()),
|
||||
LIBS => ['-lnodave'], # e.g., '-lm'
|
||||
DEFINE => '', # e.g., '-DHAVE_SOMETHING'
|
||||
- INC => '-I.', # e.g., '-I. -I/usr/include/other'
|
||||
+ INC => '-I. -I..', # e.g., '-I. -I/usr/include/other'
|
||||
# Un-comment this if you add C files to link with later:
|
||||
# OBJECT => '$(O_FILES)', # link all the C files too
|
||||
);
|
||||
@@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic perl-module toolchain-funcs
|
||||
|
||||
DESCRIPTION="Connect to and exchange data with Siemens PLCs"
|
||||
HOMEPAGE="https://sourceforge.net/projects/libnodave/"
|
||||
SRC_URI="mirror://sourceforge/libnodave/libnodave-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="perl"
|
||||
|
||||
RESTRICT="test" #no tests
|
||||
|
||||
RDEPEND="
|
||||
perl? ( dev-lang/perl:= )
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog readme faq.txt )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/makefile-${PV}.patch"
|
||||
"${FILESDIR}/perl-makefile.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
if use perl; then
|
||||
cd "${S}/PERL" || die
|
||||
perl-module_src_configure
|
||||
fi
|
||||
return
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-cflags "-L${S} -fPIC"
|
||||
emake clean
|
||||
emake CC="$(tc-getCC)" libnodave.so
|
||||
ln -s libnodave.so.0 libnodave.so || die
|
||||
emake CC="$(tc-getCC)" all
|
||||
|
||||
if use perl; then
|
||||
cd "${S}/PERL" || die
|
||||
perl-module_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local programs=(
|
||||
testIBH
|
||||
testISO_TCP
|
||||
testMPI
|
||||
testPPI
|
||||
testPPIload
|
||||
testMPIload
|
||||
testISO_TCPload
|
||||
testMPI_IBHload
|
||||
testPPI_IBHload
|
||||
testPPI_IBH
|
||||
testNLpro
|
||||
testAS511
|
||||
isotest4
|
||||
ibhsim5
|
||||
)
|
||||
exeinto "/usr/libexec/${PN}"
|
||||
doexe "${programs[@]}"
|
||||
dolib.so libnodave.so.0 libnodave.so
|
||||
doheader nodave.h
|
||||
HTML_DOCS=( doc/*.html )
|
||||
einstalldocs
|
||||
insinto "/usr/share/${PF}/doc/de"
|
||||
doins FAQ.de.txt
|
||||
|
||||
if use perl; then
|
||||
cd "${S}/PERL" || die
|
||||
perl-module_src_install
|
||||
fi
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://sourceforge.net/p/libnodave/bugs/</bugs-to>
|
||||
<remote-id type="sourceforge">libnodave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST memkind-1.13.0.tar.gz 1111767 BLAKE2B fb2b0ca70b6da32b2bf42cba68f549c279f301f2c9b2eb2f7dfcb2909105bb1eb84bd6abdf15dfcb5f45a5e0bab7fbd0aef95ce090b06b02bc8ae099bdf1b0ca SHA512 509d49e3c67321496b322469d4bb13aa8b9038e94dc9bdfb379c38e86a5705ba13bc015443da8291be49711e14bce9845b697f62cfcc981168f255f9fb515b0e
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -518,7 +518,7 @@
|
||||
endef
|
||||
|
||||
static_lib: libmemkind.la
|
||||
- bash -c "ar -M < <(echo -e '$(ar_prog)')"
|
||||
+ bash -c "${AR} -M < <(echo -e '$(ar_prog)')"
|
||||
cp libmemkind.a .libs/
|
||||
rm libmemkind.a
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||
|
||||
inherit autotools linux-info python-any-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="user extensible heap manager built on top of jemalloc"
|
||||
HOMEPAGE="https://memkind.github.io/memkind/"
|
||||
SRC_URI="https://github.com/memkind/memkind/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="+daxctl debug decorators filelog +heap-manager hwloc initial-exec-tls openmp secure test +tls"
|
||||
|
||||
RDEPEND="
|
||||
daxctl? ( sys-block/ndctl )
|
||||
hwloc? ( sys-apps/hwloc )
|
||||
sys-process/numactl
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-respect-ar.patch" )
|
||||
RESTRICT="test" # ERROR: ./test/test.sh requires a NUMA enabled system with more than one node.
|
||||
#RESTRICT="!test? ( test )"
|
||||
|
||||
pkg_pretend() {
|
||||
linux-info_pkg_setup
|
||||
CONFIG_CHECK_MODULES=""
|
||||
if use daxctl; then
|
||||
CONFIG_CHECK_MODULES+="DEV_DAX_KMEM "
|
||||
fi
|
||||
if linux_config_exists; then
|
||||
for module in ${CONFIG_CHECK_MODULES}; do
|
||||
linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
pushd jemalloc || die
|
||||
eautoreconf
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
local myconf=(
|
||||
--disable-debug
|
||||
--disable-gcov
|
||||
--enable-shared
|
||||
--enable-static
|
||||
$(use_enable daxctl)
|
||||
$(use_enable decorators)
|
||||
$(use_enable debug debug-jemalloc)
|
||||
$(use_enable heap-manager)
|
||||
$(use_enable hwloc)
|
||||
$(use_enable initial-exec-tls memkind-initial-exec-tls)
|
||||
$(use_enable filelog logging-to-file)
|
||||
$(use_enable openmp)
|
||||
$(use_enable secure)
|
||||
$(use_enable tls)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
addwrite /proc/sys/vm/nr_hugepages
|
||||
NR_HUGEPAGES_INITIAL="$(cat /proc/sys/vm/nr_hugepages)" || die
|
||||
echo 3000 > /proc/sys/vm/nr_hugepages || die
|
||||
emake check
|
||||
echo ${NR_HUGEPAGES_INITIAL} > /proc/sys/vm/nr_hugepages || die
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<longdescription lang="en">
|
||||
The memkind library is a user extensible heap manager built on top of jemalloc which enables control of memory characteristics and a partitioning of the heap between kinds of memory. The kinds of memory are defined by operating system memory policies that have been applied to virtual address ranges. Memory characteristics supported by memkind without user extension include control of NUMA and page size features. The jemalloc non-standard interface has been extended to enable specialized arenas to make requests for virtual memory from the operating system through the memkind partition interface. Through the other memkind interfaces the user can control and extend memory partition features and allocate memory while selecting enabled features. Memkind interface allows to create and control file-backed memory (PMEM kind) on specified device.
|
||||
</longdescription>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/memkind/memkind/issues</bugs-to>
|
||||
<remote-id type="github">memkind/memkind</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="daxctl">Build library with daxctl support</flag>
|
||||
<flag name="debug">Build debugging jemalloc code</flag>
|
||||
<flag name="decorators">Enable decorators</flag>
|
||||
<flag name="heap-manager">Allow switching allocator at runtime</flag>
|
||||
<flag name="hwloc">Build library with hwloc support</flag>
|
||||
<flag name="filelog">Log to file for each process</flag>
|
||||
<flag name="initial-exec-tls">Build library with initial-exec-tls support</flag>
|
||||
<flag name="secure">Build libraries with security enhancements</flag>
|
||||
<flag name="tls">Enable thread local storage</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST perfstubs-0_pre20210915.gh.tar.gz 27236 BLAKE2B 79eb382f9562581ba98f641e3f70cce16370b293129e2cf3264ccaea16ae108e2f63c8bd0b82399c6925112a121d05b5e9b442f21dcd1a247bb843c7839fb370 SHA512 5830c7a81200627951c7870065e44a166c560c19154d7a8d9ec015caa6a99501fbfe0a25c88e1200304da125956958a41da90362e14b06f9f2808a35756936c3
|
||||
@@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Profiling API for adding external tool instrumentation support to any project.
|
||||
This was motivated by the need to quickly add instrumentation to the ADIOS2 library without adding a build dependency, or tying to a specific measurement tool.
|
||||
The initial prototype implementation was tied to TAU, but evolved to this more generic version, which was extracted as a separate repository for testing and demonstration purposes.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/khuck/perfstubs/issues</bugs-to>
|
||||
<remote-id type="github">khuck/perfstubs</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="default">Use provided perfstubs tool_example</flag>
|
||||
<flag name="timers">Use our own tool_example of timers</flag>
|
||||
<flag name="tools">Build libperfstsubs_n</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake fortran-2
|
||||
|
||||
COMMIT="bdd9118a6e4af9245640ccb58b4f49cbf5aaa899"
|
||||
|
||||
DESCRIPTION="Profiling API for adding external tool instrumentation support to any project"
|
||||
HOMEPAGE="https://github.com/khuck/perfstubs"
|
||||
SRC_URI="https://github.com/khuck/${PN}/archive/${COMMIT}.tar.gz -> ${PF}.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+default examples +timers tools"
|
||||
|
||||
pkg_setup() {
|
||||
fortran-2_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e "s|/lib|/$(get_libdir)|g" \
|
||||
-e "s|DESTINATION lib|DESTINATION $(get_libdir)|g" \
|
||||
-i CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DPERFSTUBS_USE_STATIC=OFF
|
||||
|
||||
-DPERFSTUBS_BUILD_EXAMPLES=$(usex examples)
|
||||
-DPERFSTUBS_BUILD_MULTI_TOOL=$(usex tools)
|
||||
-DPERFSTUBS_USE_DEFAULT_IMPLEMENTATION=$(usex default)
|
||||
-DPERFSTUBS_USE_TIMERS=$(usex timers)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
dodoc README.md
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST graham-pt.h 11519 BLAKE2B 4a3a3be1842b114364f075088c7c0cba3f6ef893b90276e274c5f0f098dc0ea07e8d8fbc02a9393b85a283d745cd32b4352dbc6c228c5e6f0667ac346776a58c SHA512 c49338748c4b88dd2a06f1b569ba506b80864829ee9ae9301b031ba192ddcd60b3a21b3131d6d2a022678f83a0d5398019d1e92032825d37f2ddec1574e4c52c
|
||||
DIST protothreads-1.4.tar 634880 BLAKE2B 8efbbaf5df21aef9416959f9fc307cba88a333495c4c53e60fa47cbb2c2de2d1c793298015c266e8e0a480e0a7569b9c047aa138692b8df8c82b0d3907aeb83e SHA512 8ea2868d3ba7e76ffaab668cbb7c76b13857d9204f88169831f828089e852c7c0928269c3e7e439a5f5cd50fe3c3a9c5cbc0e80cf844bd9757770880065cfba7
|
||||
@@ -1,16 +0,0 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,9 +1,9 @@
|
||||
-CFLAGS+=-Wuninitialized
|
||||
+CFLAGS+=-Wuninitialized -I. -fPIE
|
||||
|
||||
all: example-codelock example-buffer example-small
|
||||
|
||||
-example-codelock: example-codelock.c pt.h lc.h
|
||||
+example-codelock: example-codelock.c
|
||||
|
||||
-example-buffer: example-buffer.c pt.h lc.h
|
||||
+example-buffer: example-buffer.c
|
||||
|
||||
-example-small: example-small.c pt.h lc.h
|
||||
+example-small: example-small.c
|
||||
@@ -1,8 +0,0 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-CFLAGS=-O -Wuninitialized -Werror
|
||||
+CFLAGS+=-Wuninitialized
|
||||
|
||||
all: example-codelock example-buffer example-small
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">Protothreads are extremely lightweight stackless threads designed for severely memory constrained systems, such as small embedded systems or wireless sensor network nodes. Protothreads provide linear code execution for event-driven systems implemented in C. Protothreads can be used with or without an underlying operating system to provide blocking event-handlers. Protothreads provide sequential flow of control without complex state machines or full multi-threading.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lightweight, Stackless Threads in C"
|
||||
HOMEPAGE="https://web.archive.org/web/20190923093100/http://dunkels.com/adam/pt/"
|
||||
SRC_URI="
|
||||
https://web.archive.org/web/20190518175329/http://dunkels.com/adam/download/pt-${PV}.tar.gz -> ${P}.tar
|
||||
https://web.archive.org/web/20190518175329/http://dunkels.com/adam/download/graham-pt.h
|
||||
"
|
||||
S="${WORKDIR}/pt-${PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc examples"
|
||||
|
||||
BDEPEND="doc? ( app-text/doxygen )"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-respect-cflags.patch"
|
||||
"${FILESDIR}/${P}-fix-clang-build.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cp "${DISTDIR}/graham-pt.h" "${S}" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
use examples && emake
|
||||
if use doc ; then
|
||||
pushd doc || die
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/include/${PN}"
|
||||
doins *.h
|
||||
if use doc ; then
|
||||
dodoc doc/*.pdf
|
||||
dodoc doc/*.txt
|
||||
dodoc README
|
||||
docinto html
|
||||
dodoc -r doc/html/.
|
||||
docompress -x "/usr/share/doc/${P}/html"
|
||||
fi
|
||||
if use examples ; then
|
||||
insinto "/usr/share/${P}/examples"
|
||||
doins *.c
|
||||
exeinto "/usr/libexec/${PN}"
|
||||
doexe example-buffer
|
||||
doexe example-codelock
|
||||
doexe example-small
|
||||
fi
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST shuffile-0.1.0.tar.gz 28999 BLAKE2B bd8b972d75740ece74de91aa4a2bafad3ce1fc6ed3bd93d5ef4ad7df2264cb7abc26e37b2985bc79219163e1817f3925d76d828ff5a83677b4d601b161fc1d83 SHA512 750eb38a303dea5bb97ad72fcb040fb49c3c059ae974218fbeeaa23a3aa0296d971af45636895a099c719c1eed120e747c1fc06be8d77c0b3d948f89b8586c22
|
||||
DIST shuffile-0.2.0.tar.gz 29001 BLAKE2B 18b832174eee212ad979bb9913c3767d054edc5c95c901241fd95c0571bf143aa42cd47be5aef4ee94bd1d8df9528020e973bad14b5e13b326ea74590192db0d SHA512 9de8bbd3ef832395853d00dda972464ea9aeab2312a68a1194cfd29cc816c6319b06750c5121197aea696418f5fe6d7ed4f22adb5cc882c87c522cfbb1704bd7
|
||||
@@ -1,16 +0,0 @@
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -24,13 +24,3 @@
|
||||
TARGET_LINK_LIBRARIES(shuffile ${SHUFFILE_EXTERNAL_LIBS})
|
||||
SET_TARGET_PROPERTIES(shuffile PROPERTIES OUTPUT_NAME shuffile CLEAN_DIRECT_OUTPUT 1)
|
||||
INSTALL(TARGETS shuffile DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
-
|
||||
-ADD_LIBRARY(shuffile-static STATIC $<TARGET_OBJECTS:shuffile_o>)
|
||||
-IF(KVTREE_LINK_STATIC)
|
||||
- SET_TARGET_PROPERTIES(shuffile-static PROPERTIES LINK_SEARCH_START_STATIC 1)
|
||||
- SET_TARGET_PROPERTIES(shuffile-static PROPERTIES LINK_SEARCH_END_STATIC 1)
|
||||
-ENDIF(KVTREE_LINK_STATIC)
|
||||
-TARGET_LINK_LIBRARIES(shuffile-static ${SHUFFILE_EXTERNAL_LIBS})
|
||||
-
|
||||
-SET_TARGET_PROPERTIES(shuffile-static PROPERTIES OUTPUT_NAME shuffile CLEAN_DIRECT_OUTPUT 1)
|
||||
-INSTALL(TARGETS shuffile-static DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
@@ -1,16 +0,0 @@
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -26,13 +26,3 @@
|
||||
SET_TARGET_PROPERTIES(shuffile PROPERTIES OUTPUT_NAME shuffile CLEAN_DIRECT_OUTPUT 1)
|
||||
INSTALL(TARGETS shuffile DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
ENDIF()
|
||||
-
|
||||
-ADD_LIBRARY(shuffile-static STATIC $<TARGET_OBJECTS:shuffile_o>)
|
||||
-IF(KVTREE_LINK_STATIC)
|
||||
- SET_TARGET_PROPERTIES(shuffile-static PROPERTIES LINK_SEARCH_START_STATIC 1)
|
||||
- SET_TARGET_PROPERTIES(shuffile-static PROPERTIES LINK_SEARCH_END_STATIC 1)
|
||||
-ENDIF(KVTREE_LINK_STATIC)
|
||||
-TARGET_LINK_LIBRARIES(shuffile-static ${SHUFFILE_EXTERNAL_LIBS})
|
||||
-
|
||||
-SET_TARGET_PROPERTIES(shuffile-static PROPERTIES OUTPUT_NAME shuffile CLEAN_DIRECT_OUTPUT 1)
|
||||
-INSTALL(TARGETS shuffile-static DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ECP-VeloC/shuffile</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">This module lets one associate a set of files with a process name. Currently, the name is implied to be the rank within MPI_COMM_WORLD. In the event that a set of distributed processes are moved, for example when restarting an MPI job, functions will migrate files from their original locations to the new locations where the processes are running.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="SHUFFILE Shuffle files between processes"
|
||||
HOMEPAGE="https://github.com/ECP-VeloC/shuffile"
|
||||
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/KVTree-1.0.2[mpi]
|
||||
sys-libs/zlib
|
||||
virtual/mpi
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-no-static.patch" )
|
||||
# tests require access to /dev/shm, thus root permission is needed
|
||||
# but mpirun refuse to run as root
|
||||
RESTRICT="test"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DENABLE_TESTS=$(usex test)
|
||||
-DSHUFFILE_LINK_STATIC=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if mountpoint -q /dev/shm ; then
|
||||
cmake_src_test
|
||||
else
|
||||
eerror "make sure to mount /dev/shm or tests will fail"
|
||||
die
|
||||
fi
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="SHUFFILE Shuffle files between processes"
|
||||
HOMEPAGE="https://github.com/ECP-VeloC/shuffile"
|
||||
SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/KVTree-1.0.2[mpi]
|
||||
sys-libs/zlib
|
||||
virtual/mpi
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
|
||||
# tests require access to /dev/shm, thus root permission is needed
|
||||
# but mpirun refuse to run as root
|
||||
RESTRICT="test"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DENABLE_TESTS=$(usex test)
|
||||
-DSHUFFILE_LINK_STATIC=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if mountpoint -q /dev/shm ; then
|
||||
cmake_src_test
|
||||
else
|
||||
eerror "make sure to mount /dev/shm or tests will fail"
|
||||
die
|
||||
fi
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST zlib-google-97.0.4692.13.tar.gz 313198 BLAKE2B a40fab92981d7bae1341aceaa63d751b7400af639b0f9f9b8a806085a3b61149a87795f27c0913daf605deb3c67484541923890876f5f36e6594044f9a1cdeef SHA512 3e5a3e0a304f547d9bc3a7713d071cba2cbfadddfa9e76f35ad5a459451ca71034f4b6b70d0a09aa8335e1430377cb250ee77a2c79b99742de6104ea180d04f7
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="google zlib extras"
|
||||
HOMEPAGE="https://chromium.googlesource.com/chromium/src/+/refs/heads/main/third_party/zlib/google"
|
||||
SRC_URI="https://chromium.googlesource.com/chromium/src/+archive/refs/tags/${PV}/third_party/zlib.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
cd google || die
|
||||
|
||||
tc-export CXX
|
||||
|
||||
${CXX} \
|
||||
${CXXFLAGS} \
|
||||
${LDFLAGS} \
|
||||
-DUSE_SYSTEM_ZLIB \
|
||||
-fPIC \
|
||||
-shared \
|
||||
-I. \
|
||||
-Wl,-soname,libzlib_compression_utils_portable.so \
|
||||
compression_utils_portable.cc \
|
||||
-o libzlib_compression_utils_portable.so \
|
||||
-lz \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd google || die
|
||||
dolib.so libzlib_compression_utils_portable.so
|
||||
doheader compression_utils_portable.h
|
||||
}
|
||||
Reference in New Issue
Block a user