fix: ccache debug and basedir setting
This MR includes 2 fixes:
-
debug flags where missing export statement and I added a setting to output all debug info to a specific folder
-
fix basedir setting. see explanation in
make.sh
with the 2nd fix, I can now successfully share the ccache folder between different lb-stack setups.
Test scenario was two independent lb-stack setups next to each other, with the 2nd one having a symlink pointing to the 1st stack's .ccache
folder.
Now build first Gaudi -> Moore and then reset the ccache statistics.
Then build Gaudi-> Moore in the 2nd stack:
Summary:
Hits: 3519 / 3601 (97.72 %)
Direct: 3519 / 3519 (100.0 %)
Preprocessed: 0 / 0
Misses: 82
Direct: 0
Preprocessed: 0
Primary storage:
Hits: 0 / 0
Misses: 0
Cache size (GB): 0.46 / 5.00 (9.20 %)
over 97% cache hits