Skip to content

Commit

Permalink
Remove generated bootdata.cc in repo (#38)
Browse files Browse the repository at this point in the history
* Remove generated bootdata.cc

* Update .gitignore

* Update CI

* Add dependency to bootdata.cc

* Update CI

* Update CI for multi-threading compilation
  • Loading branch information
IveanEx authored Sep 15, 2024
1 parent 15d8d20 commit 6748c07
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 26 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ jobs:
- name: Compile Bootrom
run: |
echo "Compiling Bootrom"
make bootrom
make bootrom CFG_OVERRIDE=target/rtl/cfg/occamy_cfg/hemaia.hjson
- name: Compile SW
run: |
echo "Compiling SW"
make sw CFG_OVERRIDE=target/sw/cfg/occamy_cfg/hemaia.hjson
make sw CFG_OVERRIDE=target/sw/cfg/occamy_cfg/hemaia.hjson -j$(nproc)
- name: Compile RTL
run: |
make rtl CFG_OVERRIDE=target/rtl/cfg/occamy_cfg/hemaia.hjson
- name: Compile Verilator Binary
run: |
make occamy_system_vlt
make occamy_system_vlt -j$(nproc)
- name: Run Tests
working-directory: target/sim
run: |-
run: |
./run.py --simulator verilator \
sw/sim_elf.yaml -j
1 change: 1 addition & 0 deletions target/rtl/test/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ testharness.sv
bootrom.bin
bootrom.elf
bootrom.dump
bootdata.cc
21 changes: 0 additions & 21 deletions target/rtl/test/bootdata.cc

This file was deleted.

2 changes: 1 addition & 1 deletion target/sim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ bootrom: $(BOOTROM_TARGETS)
clean-bootrom:
rm -rf $(BOOTROM_TARGETS)

test/bootdata.cc:
test/bootdata.cc: $(CFG)
@$(OCCAMYGEN) --cfg $(CFG) --bootdata test/bootdata.cc.tpl -o test/
test/bootrom.elf: test/bootrom.S test/bootrom.ld
$(CVA6_GCC_CC) $(CVA6_GCC_BOOTROM_CFLAGS) $(CVA6_GCC_BOOTROM_LDFLAGS) $< -o test/bootrom.elf
Expand Down

0 comments on commit 6748c07

Please sign in to comment.