Skip to content

Commit

Permalink
Update wiki and style
Browse files Browse the repository at this point in the history
  • Loading branch information
technic960183 committed Jan 17, 2025
1 parent 3e885b7 commit 9d30e5d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
7 changes: 3 additions & 4 deletions doc/wiki/Installation-related/Installation:-Option-List.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ Compile-time simulation options are classified into the following categories:
disabled). See the "Restriction" of each option carefully.

## `configure.py` Only
<a name="--machine"></a>

| Option | Value | Description |
|:---:|:---:|---|
| `-h` | - | Show a short help message. |
| `-lh` | - | Show a detailed help message. |
| `--machine` | Filename string | Select the `*.config` file from the `configs` directory. It will overwrite the default machine set in the [[default setting file | Installation#default_setting]]. |
| `-h` | - | Show a short help message. |
| `-lh` | - | Show a detailed help message. |
| `--machine` <a name="--machine"></a> | Filename string | Select the `*.config` file from the `configs` directory. It will overwrite the default machine set in the [[default setting file | Installation#default_setting]]. |

&#8192;&#8192;&#8192;&#8192;&#8192;
&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;&#8192;
Expand Down
9 changes: 8 additions & 1 deletion src/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,17 @@
import re
import ctypes

# Check the version of Python


####################################################################################################
# Validation
####################################################################################################
# Check the Python version
if sys.version_info[0] < 3 or sys.version_info[1] < 5:
raise BaseException("Python 3.5 or later is required.")



####################################################################################################
# Global variables
####################################################################################################
Expand Down

0 comments on commit 9d30e5d

Please sign in to comment.