diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/0xtools/0xtools-2.0.2.ebuild | 70 | ||||
-rw-r--r-- | dev-util/0xtools/Manifest | 2 | ||||
-rw-r--r-- | dev-util/Manifest.gz | bin | 64954 -> 64949 bytes | |||
-rw-r--r-- | dev-util/intel_clc/Manifest | 2 | ||||
-rw-r--r-- | dev-util/intel_clc/intel_clc-24.1.3.ebuild | 2 |
5 files changed, 74 insertions, 2 deletions
diff --git a/dev-util/0xtools/0xtools-2.0.2.ebuild b/dev-util/0xtools/0xtools-2.0.2.ebuild new file mode 100644 index 000000000000..d73227e1d32b --- /dev/null +++ b/dev-util/0xtools/0xtools-2.0.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) + +inherit python-single-r1 systemd toolchain-funcs + +DESCRIPTION="Always-on profiling for production systems" +HOMEPAGE="https://0x.tools/ + https://github.com/tanelpoder/0xtools/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/tanelpoder/${PN}.git" +else + SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} +" +BDEPEND=" + ${RDEPEND} +" + +DOCS=( CHANGELOG.md README.md ) + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" + + sed -e "/^sys.path.append/s|(.*)|('$(python_get_sitedir)/${PN}')|" \ + -i bin/psn -i bin/schedlat || die +} + +src_install() { + # C executables and scripts + exeinto /usr/bin + doexe bin/{cpumhz,cpumhzturbo,vmtop,xcapture,xtop} + doexe bin/{run_xcapture.sh,run_xcpu.sh} + + # Python executables + python_domodule "lib/${PN}" + python_doscript bin/psn + python_doscript bin/schedlat + python_doscript bin/syscallargs + + # Service + systemd_dounit xcapture.service + systemd_dounit xcapture-restart.service + systemd_dounit xcapture-restart.timer + + # Service config + insinto /etc/default + newins xcapture.default xcapture + + # Service logs + keepdir /var/log/xcapture + + einstalldocs +} diff --git a/dev-util/0xtools/Manifest b/dev-util/0xtools/Manifest index 167666236972..0000a48d2362 100644 --- a/dev-util/0xtools/Manifest +++ b/dev-util/0xtools/Manifest @@ -1,4 +1,6 @@ DIST 0xtools-1.2.4.tar.gz 61830 BLAKE2B 6221ded289bc4cf4c39527f35d1ad3ee43f41a60a4a9877056a5ff74fcdd203575d96edbf13af1d32bcc49465d87a2133a8dbec813ae9a5bb233b5fe2e4a36b3 SHA512 f835de65e783d9eb4b26f38be155961a2f4da91639c7e1e39df71cf8be17d27987c8749e44b7b6affe6cdc45c5f65c90be5b2cf22b2f37dcc2eb45452a384ff3 +DIST 0xtools-2.0.2.tar.gz 5989710 BLAKE2B 5e4efd4d21e3ed1fc8b1eed5378d25af3170f2386c738a68d28df5bad44ebdb88fd20a0b554d101b678c15131adb83ae786df1267c8333075c58ea58b8c2ce88 SHA512 5cb627e9b990063867869cdbbdefd7e2b6151410ac19950f683086c9200a8ba1f92192378779dbabc4efd91283cd23243a4b46259d97426331f823941b85883b EBUILD 0xtools-1.2.4.ebuild 1359 BLAKE2B 16f5d4a8baf958a55eab1a130d18d39ac25d0e824889de9336abfc557e7980c9c8b74a438f00fb27846055ad749ca43d162124be26c376f1fd641c431a3b1be9 SHA512 ba018d77933c4e2e347a7817ace9f79ebb642b3f92080f09c386816fd3681b7a9d7a8d16526e29e2a63a6611ecf40362c37f15e0b37647c6bac0ca7a7fef4062 +EBUILD 0xtools-2.0.2.ebuild 1442 BLAKE2B 3cae7b29f4f271fd2fadf7e63edd79255ccac5d81d985c06cdc67959ef940128a59a97fa965062dcb80c94e2007e74a51a2203b77392414a9d4199e87b25d9a6 SHA512 02b648a82c35c85eaeb574739418a241c6ae4584287888f1cd24d07934cd00ec1b7547fa5c83a8f83d4d3f5c5bf354a4bfb3a901fb6fc1c048fd554d69fd39e6 EBUILD 0xtools-9999.ebuild 1360 BLAKE2B 1a710510aeade291b21d2b1e124244ae2ce5e5666909198a45fb3a4544fe88bfa5f964fb6a98d510f3a0544336a10538e50396663c7d0e47394f02fcf4c4b2ca SHA512 7404eda4db8655977d3db08b594c9f2861937e3663faa57781f19e2697d57310a2ccb08db8df3f617b1ce6006f1caa7d07b79baa123d97e971fb703d6a29c089 MISC metadata.xml 1292 BLAKE2B b7e2505d33b7af4424dc4336a7d8d1536ed70f92e4dccccf725a54473b109f7718adac34960b5238753336c6b2da5fd0e49def8ae249509c4b0c9e4bc42a89cf SHA512 0ecf2c2bab2cf03656f980788cf05849c3d2e5905f70753b03f76615da377a5463b3d30decddc3a97eaf83d9bef55e31ce104ca6cd459eb0f116c9edeba0edf2 diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex a5662d93b59d..08a7cde3f326 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest index b2165c144d10..a73ffda6957d 100644 --- a/dev-util/intel_clc/Manifest +++ b/dev-util/intel_clc/Manifest @@ -1,6 +1,6 @@ DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 3c68e544898031fe76a57ea754f46ede5b105c259d13dd484eaa63fe51b7d52cf76a4084529b11a586c4d8d06f4cb32f993fd1ea4e6ccc4cbc91e78fe755743a SHA512 de2ee6c9df1fc106ee10befe0a76be1e9cfe83d65dbdb83bad6d8d7cfaa085232fb115293a1a790b37b50b1fe14bd58aafbcfe5a15e953b5901a7105d57569a5 DIST mesa-24.1.3.tar.xz 29086488 BLAKE2B 2e8e4ee98f904aa02f304a6c3cbbb81d04802203e270e6b8ad2b7a62b334ac28f5e91687d7a92501f66b0043255a533d024537ff5ef3f2f03d986e46a7272eeb SHA512 db4071ac80747397023762d6e0355b001f4e942cdc706c67f8aced80e162058667c02a0dc0804a45afc2656cb65d8b16e17148bc03f0a1692067ec170f193c1a EBUILD intel_clc-24.0.9.ebuild 1741 BLAKE2B b4fc7184409bedcfec1cd559149b7d57b9a5bd708cc4aea847c47573cd194804e3435a15120914fadc4bd5f9172e946d93a9164a875809feae2cc7589a36f74e SHA512 d9825be298668fb6bc933ff6131c5a2d18b76bbcb9b6ca2176512d7a4273cf42f5fe00097478a4cd3e9c678fa53c8a95f83115c4f569ac37eebe940749ba340e -EBUILD intel_clc-24.1.3.ebuild 1748 BLAKE2B 1546870b9ef18aeaa21da10acf8edd2875015453e22dc15ee3c2bf6e37afab1454f83040af343c7fec75d5fcdd8819e4ff0a8f56f27691b6a78c6d5438601efc SHA512 3981e62ce60c42485d2faedf58ff68f261d264c5d0fa891b0db41cbc1427a9cdd761b2119afbbd04f37b5ec34d9ec516cff233a31445d72af0962b570e0f3c1b +EBUILD intel_clc-24.1.3.ebuild 1747 BLAKE2B 4cb4efc5074e18226021fc2b9233b03544ae56b0e84c1678e0ac809ace3295eda50c952cd991eda23b0ea22eec659abf617ccb1faa5edb57058b6e6c10a5fba2 SHA512 9a21ac0d5656f43eb721c1b5f7aa90b0fa95333f18f68bdd3936a7b9452f00bbe53db37aa7626c910d7be9f953128ead58307b0e4272eb0e88705151b5dcd8aa EBUILD intel_clc-9999.ebuild 1748 BLAKE2B 1546870b9ef18aeaa21da10acf8edd2875015453e22dc15ee3c2bf6e37afab1454f83040af343c7fec75d5fcdd8819e4ff0a8f56f27691b6a78c6d5438601efc SHA512 3981e62ce60c42485d2faedf58ff68f261d264c5d0fa891b0db41cbc1427a9cdd761b2119afbbd04f37b5ec34d9ec516cff233a31445d72af0962b570e0f3c1b MISC metadata.xml 388 BLAKE2B 0558cfe706987a93605fb383bc2c30ff4f4cf5837ca19afd3e16d9702ea7dcd3d575579d53aacb531e1d421c8b1692eb4607d713793a89240223c031d7781a31 SHA512 e0375912a94fa92b49ed78d9a88c4eacc8b441d8b2fa117a48df2d8a958f1cf91279299aca109e24f76b27ca04f0067f83e5b8e4141f85ac64d379bca0945d2a diff --git a/dev-util/intel_clc/intel_clc-24.1.3.ebuild b/dev-util/intel_clc/intel_clc-24.1.3.ebuild index df38191345d0..40ac06697204 100644 --- a/dev-util/intel_clc/intel_clc-24.1.3.ebuild +++ b/dev-util/intel_clc/intel_clc-24.1.3.ebuild @@ -20,7 +20,7 @@ if [[ ${PV} == 9999 ]]; then else S="${WORKDIR}/mesa-${MY_PV}" SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~x86" fi LICENSE="MIT SGI-B-2.0" |