diff options
author | Florian Schmaus <flow@gentoo.org> | 2024-04-04 10:36:51 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-04-04 10:36:51 +0200 |
commit | e4c2c2c16bb1baca18cc049a717e61bf5dc95329 (patch) | |
tree | 5336db8be1b59c82f02ebbb96a5a3d893ebcdc91 /app-emulation | |
parent | app-emulation/spike: add 1.1.0_p20240324 (diff) | |
download | riscv-e4c2c2c16bb1baca18cc049a717e61bf5dc95329.tar.gz riscv-e4c2c2c16bb1baca18cc049a717e61bf5dc95329.tar.bz2 riscv-e4c2c2c16bb1baca18cc049a717e61bf5dc95329.zip |
app-emulation/spike: sync live
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/spike/spike-9999.ebuild | 9 |
1 files 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 |