Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Automate prebuilt executable updates via GitHub Actions #474

Merged
merged 25 commits into from
Aug 21, 2024

Conversation

vacantron
Copy link
Collaborator

To keep the executables up to date for testing and benchmarking, this pull request introduces GitHub CI/CD pipeline to release the tarball of the latest executables when the files under tests/ be changed.

Close #451

@vacantron vacantron force-pushed the prebuilt branch 7 times, most recently from bec637f to 4721508 Compare August 17, 2024 14:22
@jserv

This comment was marked as outdated.

@vacantron

This comment was marked as outdated.

@jserv
Copy link
Contributor

jserv commented Aug 17, 2024

It is a bit confusing that mk/external.mk uses curl, while the proposed change opts for wget. Could you explain the reasons behind this preference?

@jserv
Copy link
Contributor

jserv commented Aug 17, 2024

aes.c is from rv8-bench submodule, and stream.c is from ansibench.

No, the original tests/aes.c came from micro-AES, which is independent from rv8-bench/src/aes.c.

Copy link
Collaborator

@ChinYikMing ChinYikMing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@jserv jserv merged commit 3330d24 into sysprog21:master Aug 21, 2024
8 checks passed
@jserv
Copy link
Contributor

jserv commented Aug 21, 2024

Thank @vacantron for contributing!

ChinYikMing added a commit to ChinYikMing/rv32emu that referenced this pull request Sep 1, 2024
After merging sysprog21#474, multiple executables were moved to other locations
(e.g., build/riscv32), causing the wasm service to fail. The intuitive
solution is to embed build/riscv32 into the wasm.

Additionally, the Makefile's distclean target does not fully clean wasm
artifacts, as CC=emcc might not be set during make distclean. To fix
this, the declaration of the WEB_FILES and DEMO_DIR wasm-related
variables has been reordered.

Related: sysprog21#486
@ChinYikMing ChinYikMing mentioned this pull request Sep 1, 2024
ChinYikMing added a commit to ChinYikMing/rv32emu that referenced this pull request Sep 1, 2024
After merging sysprog21#474, multiple executables were moved to other location
(build/riscv32), which caused the wasm service to fail. The intuitive
solution is to embed build/riscv32 into the wasm. Also, executables that
stored in rv32emu-prebuilt must be pulled before embedding into wasm, so
emcc_deps should depend on the artifact target.

Additionally, the Makefile's distclean target does not fully clean wasm
artifacts, as CC=emcc might not be set during make distclean. To fix
this, the declaration of the WEB_FILES and DEMO_DIR wasm-related
variables has been reordered.

Related: sysprog21#486
ChinYikMing added a commit to ChinYikMing/rv32emu that referenced this pull request Sep 2, 2024
After merging sysprog21#474, multiple executables were moved to other location
(build/riscv32), which caused the wasm service to fail. The intuitive
solution is to embed build/riscv32 into the wasm. Also, executables that
stored in rv32emu-prebuilt must be pulled before embedding into wasm, so
emcc_deps should depend on the artifact target.

Additionally, the Makefile's distclean target does not fully clean wasm
artifacts, as CC=emcc might not be set during make distclean. To fix
this, the declaration of the WEB_FILES and DEMO_DIR wasm-related
variables has been reordered.

Related: sysprog21#486
vestata pushed a commit to vestata/rv32emu that referenced this pull request Jan 24, 2025
Automate prebuilt executable updates via GitHub Actions
vestata pushed a commit to vestata/rv32emu that referenced this pull request Jan 24, 2025
After merging sysprog21#474, multiple executables were moved to other location
(build/riscv32), which caused the wasm service to fail. The intuitive
solution is to embed build/riscv32 into the wasm. Also, executables that
stored in rv32emu-prebuilt must be pulled before embedding into wasm, so
emcc_deps should depend on the artifact target.

Additionally, the Makefile's distclean target does not fully clean wasm
artifacts, as CC=emcc might not be set during make distclean. To fix
this, the declaration of the WEB_FILES and DEMO_DIR wasm-related
variables has been reordered.

Related: sysprog21#486
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keep prebuilt ELF files up to date
4 participants