mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
rsb: Update RISC-V's Spike revision
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# RISC-V's spike (priv-1.10) 1.x.x Version 1.
|
||||
# RISC-V's spike (01252686902fa30665fbecfc1476d169ad1333d1) 1.x.x Version 1.
|
||||
#
|
||||
# This configuration file configure's, make's and install's RISC-V's spike simulator.
|
||||
#
|
||||
@@ -17,8 +17,8 @@ URL: https://github.com/riscv/riscv-isa-sim/
|
||||
#
|
||||
# Source
|
||||
#
|
||||
%source set spike https://github.com/riscv/riscv-isa-sim/archive/priv-1.10.zip
|
||||
%source set fesvr https://github.com/riscv/riscv-fesvr/archive/f683e01542acf60e50774d061bcb396b628e3e67.zip
|
||||
%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
|
||||
|
||||
#
|
||||
# Prepare the source code.
|
||||
@@ -26,25 +26,25 @@ URL: https://github.com/riscv/riscv-isa-sim/
|
||||
%prep
|
||||
build_top=$(pwd)
|
||||
|
||||
%source setup fesvr -q -n riscv-fesvr-f683e01542acf60e50774d061bcb396b628e3e67
|
||||
%source setup spike -q -n riscv-isa-sim-priv-1.10
|
||||
%source setup fesvr -q -n riscv-fesvr-8d108a0a647901550d95925549337c2c3aec9ac8
|
||||
%source setup spike -q -n riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1
|
||||
|
||||
cd ${build_top}
|
||||
|
||||
%build
|
||||
build_top=$(pwd)
|
||||
|
||||
cd riscv-fesvr-f683e01542acf60e50774d061bcb396b628e3e67
|
||||
cd riscv-fesvr-8d108a0a647901550d95925549337c2c3aec9ac8
|
||||
|
||||
../riscv-fesvr-f683e01542acf60e50774d061bcb396b628e3e67/configure \
|
||||
../riscv-fesvr-8d108a0a647901550d95925549337c2c3aec9ac8/configure \
|
||||
--prefix=%{_prefix}
|
||||
%{__make} %{?_smp_mflags} all$
|
||||
%{__make} install
|
||||
|
||||
|
||||
cd ../riscv-isa-sim-priv-1.10
|
||||
cd ../riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1
|
||||
|
||||
../riscv-isa-sim-priv-1.10/configure \
|
||||
../riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1/configure \
|
||||
--prefix=%{_prefix} \
|
||||
--with-fesvr=%{_prefix}
|
||||
|
||||
@@ -57,7 +57,7 @@ URL: https://github.com/riscv/riscv-isa-sim/
|
||||
|
||||
rm -rf $SB_BUILD_ROOT
|
||||
|
||||
cd riscv-isa-sim-priv-1.10
|
||||
cd riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1
|
||||
%{__make} DESTDIR=$SB_BUILD_ROOT PREFIX=%{_prefix} install
|
||||
|
||||
cd ${build_top}
|
||||
|
Reference in New Issue
Block a user