Tool to determine what GCC flags -march=native would resolve into
Project description
About
resolve-march-native is a small command line tool to resolve
-march=native
into explicit GCC flags.
Example
$ resolve-march-native --vertical
-march=bonnell
-mno-cx16
--param l1-cache-line-size=64
--param l1-cache-size=24
Usage
$ COLUMNS=80 resolve-march-native --help
usage: resolve-march-native [-h] [--debug] [--gcc COMMAND] [--vertical]
[--keep-identical-mtune] [--keep-mno-flags]
[--add-recommended] [--version]
options:
-h, --help show this help message and exit
--debug enable debugging (default: disabled)
--gcc COMMAND gcc command (default: gcc)
--vertical produce vertical output (default: horizontal output)
--keep-identical-mtune
keep implied -mtune=... despite architecture identical
to -march=... (default: stripped away)
--keep-mno-flags keep -mno-* parameters (default: (superfluous ones)
stripped away)
--add-recommended, -a
add recommended flags (default: not added)
--version show program's version number and exit
Software libre licensed under GPL v2 or later.
Brought to you by Sebastian Pipping <sebastian@pipping.org>.
Please report bugs at https://github.com/hartwork/resolve-march-native/issues — thank you!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file resolve-march-native-5.0.0.tar.gz
.
File metadata
- Download URL: resolve-march-native-5.0.0.tar.gz
- Upload date:
- Size: 49.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 713549f69eb58d5d992b4f4ec7df1d0b5e71609ead01cc72d896621af99b7995 |
|
MD5 | c011a01232cce3e0af2dde4d30c037c1 |
|
BLAKE2b-256 | de4a3b2374471bfd3a10cff89e9a3aa7d1109d197bb0924e80d0544a52592dd1 |
File details
Details for the file resolve_march_native-5.0.0-py3-none-any.whl
.
File metadata
- Download URL: resolve_march_native-5.0.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06181108899f9c2884012e7dc988a02a0fd719aff37bff45ea686acd4342b690 |
|
MD5 | 2e6c18c9808900c1f6b6280604fee1c4 |
|
BLAKE2b-256 | deac45137148cbb25f61db423756c48ce616a41c9461f2dc0095fc4fc5a8c2d1 |