Skip to content
Snippets Groups Projects
Commit 353fe251 authored by Sören Tempel's avatar Sören Tempel Committed by Sören Tempel
Browse files

testing/spike: new aport

parent 6d43d62f
No related branches found
No related tags found
1 merge request!45142testing/spike: new aport
Pipeline #158037 skipped
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=spike
pkgver=1.1.0
pkgrel=0
pkgdesc="A simulator for the RISC-V instruction set architecture"
url="https://github.com/riscv-software-src/riscv-isa-sim"
arch="all"
license="BSD-3-Clause"
makedepends="dtc"
options="!check" # XXX: no proper upstream test suite
source="https://github.com/riscv-software-src/riscv-isa-sim/archive/refs/tags/v$pkgver/spike-$pkgver.tar.gz"
builddir="$srcdir/riscv-isa-sim-$pkgver"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
# The shared libraries provided by spike aren't versioned,
# hence there is really no use in packaging them right now.
make DESTDIR="$pkgdir" install-exes
}
sha512sums="
089f3ae8e505ffde7bb4d3d7ef2c5db082c616e135e4efe952151dd195b1493f46ae4c0e33fc6b708935397b80922c643cb9e66760cbf3b2286f1f927e8dee9a spike-1.1.0.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment