Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Sync with phate #3

Merged
merged 3 commits into from
Sep 25, 2024
Merged

Sync with phate #3

merged 3 commits into from
Sep 25, 2024

Conversation

sjalander
Copy link
Member

No description provided.

haved and others added 3 commits August 16, 2024 13:26
Each temporary directory created when compiling a `.c`-file with
verilator ends up at about 180MB on my machine. These directories are
placed in `/tmp`, which on my machine is a RAM-disk. I had to resize the
tmpfs, as 8GB was not large enough. I also had to set up a swapfile to
not run out of RAM.

This change makes it so the temporary directory for each test is deleted
once verilator has produced its final executable
`build/xxx/test_xxx.hls`. It is deleted even if the build fails or is
interrupted.

Sidenote: This PR is from a fork, only because I did not have access to
creating branches in this repository.
Make otherwise complains about the jobserver being unavailable.
@sjalander sjalander merged commit 7089b10 into EECS-NTNU:main Sep 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants