Repository navigation
Allow specifying a user defined JSON file - #146
Conversation
641819d to
c576b69
Compare
c576b69 to
e12923d
Compare
| import archspec.cli | ||
| import archspec.cpu | ||
| import archspec.cpu.detect | ||
| import archspec.cpu.microarchitecture |
Check notice
Code scanning / CodeQL
Module is imported with 'import' and 'import from'
| import archspec.cpu | ||
| import archspec.cpu.detect | ||
| import archspec.cpu.microarchitecture | ||
| import archspec.cpu.schema |
Check notice
Code scanning / CodeQL
Module is imported with 'import' and 'import from'
Users can now specify in the environment variable `ARCHSPEC_CPU_DIR` a custom directory where to find a complete replacement of the JSON files expected by archspec. Likewise, they can set `ARCHSPEC_EXTENSION_CPU_DIR` to a directory where extension to the default JSON files are found.
e12923d to
7b5f2f8
Compare
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #146 +/- ##
==========================================
+ Coverage 93.20% 94.15% +0.94%
==========================================
Files 8 8
Lines 471 496 +25
==========================================
+ Hits 439 467 +28
+ Misses 32 29 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fixes #144
Users can now specify in the environment variable
ARCHSPEC_CPU_DIRa custom directory where to find a complete replacement of the JSON files expected byarchspec.Likewise, they can set
ARCHSPEC_EXTENSION_CPU_DIRto a directory where extension to the default JSON files are found.