Browse Source
The actual Spike package consists of a whole bunch of libraries. This installs a pkg-config file for each generated library, and a meta pkg-config file (riscv-spike.pc) that links in all the other Spike libraries except dummy_rocc (which I figure isn't interesting). This allows me to package and install spike, and then use that package to build an extension library (so I don't have to fork Spike for my own ISA extension).pull/20/head
8 changed files with 81 additions and 1 deletions
@ -0,0 +1,11 @@ |
|||
prefix=@prefix@ |
|||
exec_prefix=@prefix@ |
|||
libdir=${prefix}/@libdir@ |
|||
includedir=${prefix}/@includedir@ |
|||
|
|||
Name: riscv-dummy_rocc |
|||
Description: Example RISC-V ROCC accelerator |
|||
Version: git |
|||
Libs: -Wl,-rpath,${libdir} -L${libdir} -ldummy_rocc |
|||
Cflags: -I${includedir} |
|||
URL: http://riscv.org/download.html#tab_spike |
|||
@ -0,0 +1,11 @@ |
|||
prefix=@prefix@ |
|||
exec_prefix=@prefix@ |
|||
libdir=${prefix}/@libdir@ |
|||
includedir=${prefix}/@includedir@ |
|||
|
|||
Name: riscv-hwacha |
|||
Description: RISC-V Hwacha binary library |
|||
Version: git |
|||
Libs: -Wl,-rpath,${libdir} -L${libdir} -lhwacha |
|||
Cflags: -I${includedir} |
|||
URL: http://riscv.org/download.html#tab_spike |
|||
@ -0,0 +1,11 @@ |
|||
prefix=@prefix@ |
|||
exec_prefix=@prefix@ |
|||
libdir=${prefix}/@libdir@ |
|||
includedir=${prefix}/@includedir@ |
|||
|
|||
Name: riscv-riscv |
|||
Description: RISC-V |
|||
Version: git |
|||
Libs: -Wl,-rpath,${libdir} -L${libdir} -lriscv |
|||
Cflags: -I${includedir} |
|||
URL: http://riscv.org/download.html#tab_spike |
|||
@ -0,0 +1,11 @@ |
|||
prefix=@prefix@ |
|||
exec_prefix=@prefix@ |
|||
libdir=${prefix}/@libdir@ |
|||
includedir=${prefix}/@includedir@ |
|||
|
|||
Name: riscv-softfloat |
|||
Description: RISC-V softfloat library |
|||
Version: git |
|||
Libs: -Wl,-rpath,${libdir} -L${libdir} -lsoftfloat |
|||
Cflags: -I${includedir} |
|||
URL: http://riscv.org/download.html#tab_spike |
|||
@ -0,0 +1,10 @@ |
|||
prefix=@prefix@ |
|||
exec_prefix=@prefix@ |
|||
libdir=${prefix}/@libdir@ |
|||
includedir=${prefix}/@includedir@ |
|||
|
|||
Name: riscv-spike |
|||
Description: RISC-V spike meta library |
|||
Version: git |
|||
Depends: riscv-spike_main riscv-riscv riscv-hwacha riscv-softfloat |
|||
URL: http://riscv.org/download.html#tab_spike |
|||
@ -0,0 +1,12 @@ |
|||
prefix=@prefix@ |
|||
exec_prefix=@prefix@ |
|||
libdir=${prefix}/@libdir@ |
|||
includedir=${prefix}/@includedir@ |
|||
|
|||
Name: riscv-spike_main |
|||
Description: RISC-V ISA simulator library |
|||
Version: git |
|||
Depends: riscv-riscv riscv-hwacha riscv-softfloat |
|||
Libs: -Wl,-rpath,${libdir} -L${libdir} -lspike_main |
|||
Cflags: -I${includedir} |
|||
URL: http://riscv.org/download.html#tab_spike |
|||
Loading…
Reference in new issue