commit: e4c2c2c16bb1baca18cc049a717e61bf5dc95329
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 4 08:36:51 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Apr 4 08:36:51 2024 +0000
URL: https://gitweb.gentoo.org/proj/riscv.git/commit/?id=e4c2c2c1
app-emulation/spike: sync live
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
app-emulation/spike/spike-9999.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/app-emulation/spike/spike-9999.ebuild
b/app-emulation/spike/spike-9999.ebuild
index 528cc70..4ce8063 100644
--- a/app-emulation/spike/spike-9999.ebuild
+++ b/app-emulation/spike/spike-9999.ebuild
@@ -13,8 +13,13 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/riscv-software-src/riscv-isa-sim.git"
else
-
SRC_URI="https://github.com/riscv-software-src/riscv-isa-sim/archive/${COMMIT}.tar.gz
-> ${P}.gh.htar.gz"
- S="${WORKDIR}/${PN}-${COMMIT}"
+ MY_COMMIT=3427b459f88d2334368a1abbdf5a3000957f08e8
+ if [[ -v MY_COMMIT ]]; then
+
SRC_URI="https://github.com/riscv-software-src/riscv-isa-sim/archive/${MY_COMMIT}.tar.gz
-> ${P}.tar.gz"
+ S="${WORKDIR}/riscv-isa-sim-${MY_COMMIT}"
+ else
+
SRC_URI="https://github.com/riscv/riscv-isa-sim/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
+ fi
KEYWORDS="~amd64"
fi