config: update example to new mechanism

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent 0a33292326
commit 5541167853
3 changed files with 12 additions and 5 deletions

View File

@@ -11257,11 +11257,19 @@ It gets annoying to retype `--arch aarch64` for every single command, or to reme
So simplify that, do:
....
cp config.example data/config
cp config.py data/
....
and then edit the `data/config` file to your needs.
Source: link:config.py[]
You can also choose a different configuration file explicitly with:
....
./run --config data/config2.py
....
=== Build the documentation
You don't need to depend on GitHub:

View File

@@ -1,4 +0,0 @@
#!/usr/bin/env python
arch = 'aarch64'
gem5 = True
run_id = 'asdf'

3
config.py Normal file
View File

@@ -0,0 +1,3 @@
def set_args(args):
args['arch'] = 'aarch64'
args['gem5'] = True