diff --git a/sci-ml/kineto/files/kineto-0.4.0_p20250418-AppxClock.patch b/sci-ml/kineto/files/kineto-0.4.0_p20250418-AppxClock.patch new file mode 100644 index 0000000000000..39bc428b65c04 --- /dev/null +++ b/sci-ml/kineto/files/kineto-0.4.0_p20250418-AppxClock.patch @@ -0,0 +1,10 @@ +--- a/libkineto_defs.bzl 2025-05-04 19:21:28.579198776 +0200 ++++ b/libkineto_defs.bzl 2025-05-04 19:22:03.007328119 +0200 +@@ -81,6 +81,7 @@ + "include/libkineto.h", + "include/time_since_epoch.h", + "include/output_base.h", ++ "src/ApproximateClock.h", + ] + + # kineto code should be updated to not have to diff --git a/sci-ml/kineto/kineto-0.4.0_p20250418.ebuild b/sci-ml/kineto/kineto-0.4.0_p20250418-r1.ebuild similarity index 93% rename from sci-ml/kineto/kineto-0.4.0_p20250418.ebuild rename to sci-ml/kineto/kineto-0.4.0_p20250418-r1.ebuild index e540031349478..85d8fd60e2531 100644 --- a/sci-ml/kineto/kineto-0.4.0_p20250418.ebuild +++ b/sci-ml/kineto/kineto-0.4.0_p20250418-r1.ebuild @@ -32,8 +32,13 @@ RESTRICT="!test? ( test )" PATCHES=( "${FILESDIR}"/${PN}-0.4.0-gcc13.patch + "${FILESDIR}"/${P}-AppxClock.patch ) +src_prepare() { + cmake_src_prepare +} + src_configure() { local mycmakeargs=( -DLIBKINETO_THIRDPARTY_DIR="${EPREFIX}"/usr/include/