Skip to main content

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

$ resolve-march-native --help
usage: resolve-march-native [-h] [--debug] [--gcc COMMAND] [--vertical]
                            [--keep-identical-mtune] [--keep-mno-flags]
                            [--keep-default-params] [--add-recommended]
                            [--version]

optional arguments:
  -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)
  --keep-default-params
                        keep --param ... with values matching defaults
                        (default: stripped away)
  --add-recommended, -a
                        add recommended flags (default: not added)
  --version             show program's version number and exit

resolve-march-native is software libre licensed under GPL v2 or later,
written by Sebastian Pipping.  Please report bugs to
https://github.com/hartwork/resolve-march-native/issues.  Thanks!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

resolve-march-native-0.9.4.tar.gz (9.0 kB view details)

Uploaded Source

Built Distributions

resolve_march_native-0.9.4-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

resolve_march_native-0.9.4-py2-none-any.whl (7.4 kB view details)

Uploaded Python 2

File details

Details for the file resolve-march-native-0.9.4.tar.gz.

File metadata

  • Download URL: resolve-march-native-0.9.4.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/3.6.8

File hashes

Hashes for resolve-march-native-0.9.4.tar.gz
Algorithm Hash digest
SHA256 922fd3fb58b3952f934f435187cc3e7e88745f71bf185325a7fd9989d681c405
MD5 1e5448ec2229c07142a0b18601b986e2
BLAKE2b-256 ab7499bfcf6b7401ee2e0031e7ab5d2404f4f25e2d7d4e5830b8bad45bcd1276

See more details on using hashes here.

File details

Details for the file resolve_march_native-0.9.4-py3-none-any.whl.

File metadata

  • Download URL: resolve_march_native-0.9.4-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/3.6.8

File hashes

Hashes for resolve_march_native-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ad5f7c484aab286acb3c8930c82de949f1969de59bc6bcb279b6d6b261f648ef
MD5 a31058e0300eb54407421ef08e1fbb31
BLAKE2b-256 58fb4e62bdf0ace175c76a9ae9f483be8d044993783de67e8534ad724a1f0d77

See more details on using hashes here.

File details

Details for the file resolve_march_native-0.9.4-py2-none-any.whl.

File metadata

  • Download URL: resolve_march_native-0.9.4-py2-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/3.6.8

File hashes

Hashes for resolve_march_native-0.9.4-py2-none-any.whl
Algorithm Hash digest
SHA256 2e6196624e462d579125d712dbcc3c8aee2d112c3d4630ac0960c10640003fe7
MD5 3c4af31e074fe08fad2b7972e536acf5
BLAKE2b-256 593b074c626d65a353450dfcf422e852021b6ecb23b94b707c5035974db21f51

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page