[PATCH] [rsb] Update Spike build
Hesham Almatary
Hesham.Almatary at cl.cam.ac.uk
Fri Oct 11 09:39:06 UTC 2019
Latest Spike integrated fesvr in its source directory, so there
is no separate fesvr anymore.
---
bare/config/devel/spike-1.1.0.cfg | 5 +----
source-builder/config/spike-1-1.cfg | 19 +++++--------------
2 files changed, 6 insertions(+), 18 deletions(-)
diff --git a/bare/config/devel/spike-1.1.0.cfg b/bare/config/devel/spike-1.1.0.cfg
index 4e94189..244c1cd 100644
--- a/bare/config/devel/spike-1.1.0.cfg
+++ b/bare/config/devel/spike-1.1.0.cfg
@@ -10,10 +10,7 @@
%define spike_version 1.1.0
-%hash sha512 01252686902fa30665fbecfc1476d169ad1333d1.zip 7970f8dfc65ec5a5beab9effc755375d6c90eacc30a89261d9ab8cb4f1cf65c67cfb850e8c1a53302a860aae821e2869dcddd8c098da918bf944a3335edc71d5
-
-# RISC-V's front-end server (fesvr)
-%hash sha512 8d108a0a647901550d95925549337c2c3aec9ac8.zip 9b5ec44723fd96a961d93d369e50e6aeb327341b2dc42c17ed340d1bc0425511deb23fcf1e7c5926486c2a10bfc3cc6d6f4ceb0cda63590d46468db0ee2b1d3b
+%hash sha512 bbe881f3c5435d02eeb7c28515bfb301470f2875.zip 692e9b7767c5749babd8e7979bfaa24cec8fbe71a99a02376bf328596c2e4d9bcc562456154c0fad4f9bb66e6abdd4009b2654d15a08a5bcae294b3d11d267d4
#
# The spike build instructions. We use 1.x.x Release 1.
diff --git a/source-builder/config/spike-1-1.cfg b/source-builder/config/spike-1-1.cfg
index 17b4e2f..5137d57 100644
--- a/source-builder/config/spike-1-1.cfg
+++ b/source-builder/config/spike-1-1.cfg
@@ -17,8 +17,7 @@ URL: https://github.com/riscv/riscv-isa-sim/
#
# Source
#
-%source set spike https://github.com/riscv/riscv-isa-sim/archive/01252686902fa30665fbecfc1476d169ad1333d1.zip
-%source set fesvr https://github.com/riscv/riscv-fesvr/archive/8d108a0a647901550d95925549337c2c3aec9ac8.zip
+%source set spike https://github.com/riscv/riscv-isa-sim/archive/bbe881f3c5435d02eeb7c28515bfb301470f2875.zip
#
# Prepare the source code.
@@ -26,25 +25,17 @@ URL: https://github.com/riscv/riscv-isa-sim/
%prep
build_top=$(pwd)
- %source setup fesvr -q -n riscv-fesvr-8d108a0a647901550d95925549337c2c3aec9ac8
- %source setup spike -q -n riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1
+ %source setup spike -q -n riscv-isa-sim-bbe881f3c5435d02eeb7c28515bfb301470f2875
cd ${build_top}
%build
build_top=$(pwd)
- cd riscv-fesvr-8d108a0a647901550d95925549337c2c3aec9ac8
- ../riscv-fesvr-8d108a0a647901550d95925549337c2c3aec9ac8/configure \
- --prefix=%{_prefix}
- %{__make} %{?_smp_mflags} all$
- %{__make} install
-
-
- cd ../riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1
+ cd riscv-isa-sim-bbe881f3c5435d02eeb7c28515bfb301470f2875
- ../riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1/configure \
+ ../riscv-isa-sim-bbe881f3c5435d02eeb7c28515bfb301470f2875/configure \
--prefix=%{_prefix} \
--with-fesvr=%{_prefix}
@@ -57,7 +48,7 @@ URL: https://github.com/riscv/riscv-isa-sim/
rm -rf $SB_BUILD_ROOT
- cd riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1
+ cd riscv-isa-sim-bbe881f3c5435d02eeb7c28515bfb301470f2875
%{__make} DESTDIR=$SB_BUILD_ROOT PREFIX=%{_prefix} install
cd ${build_top}
--
2.17.1
More information about the devel
mailing list