https://github.com/riscv-software-src/se-sig-analysis
Toolchains, scripts, and workloads to analyze proposed instructions as part of the Scalar Efficiency SIG.
https://github.com/riscv-software-src/se-sig-analysis
Last synced: 3 months ago
JSON representation
Toolchains, scripts, and workloads to analyze proposed instructions as part of the Scalar Efficiency SIG.
- Host: GitHub
- URL: https://github.com/riscv-software-src/se-sig-analysis
- Owner: riscv-software-src
- License: other
- Created: 2024-05-29T19:27:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-30T14:18:24.000Z (about 1 year ago)
- Last Synced: 2025-01-05T02:42:55.812Z (5 months ago)
- Language: Ruby
- Size: 176 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= RISC-V International Scalar Efficency SIG Workspace
== Dependencies
The only dependency is the https://sylabs.io/singularity[Singularity container system].
Packages for recent Ubuntu and RHEL distributions are provided on https://github.com/sylabs/singularity/releases/tag/v4.1.3[GitHub].
For example, to install on Ubuntu Focal (18.04):
.Install on Debian/Ubuntu
[source,bash]
----
wget https://github.com/sylabs/singularity/releases/download/v4.1.3/singularity-ce_4.1.3-focal_amd64.deb
sudo dpkg -i singularity-ce_4.1.3-focal_amd64.deb
----If you use another system, you will need to install from source using the https://docs.sylabs.io/guides/4.1/admin-guide/installation.html[instructions].
[IMPORTANT]
To build the container (not just pull it), you need to have fakeroot enabled. Once singularity is installed, run the following: `sudo singularity config fakeroot --add `whoami``== Setup
Everything is run out of an Ubuntu 24.04 container. You will need to set it up:
.One-time setup
[source,bash]
----
./bin/setup
----This will pull the container into your filesystem.
== Tasks
Tasks are managed by https://github.com/ruby/rake[rake], a Makefile-like system for https://www.ruby-lang.org[Ruby]. To see a list of known tasks, run:
.Print all tasks
[source,bash]
----
./bin/rake --tasks
----[NOTE]
Do not use the rake installed in your host (_e.g._, at `/usr/bin/rake`, or just `rake`). The version version in `./bin/rake` will run in the container, which is necessary to ensure everything works as planned.To build all benchmarks:
.Build benchmarks
[source,bash]
----
./bin/rake build:all
----