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.3.tar.gz (9.0 kB view details)

Uploaded Source

Built Distributions

resolve_march_native-0.9.3-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

resolve_march_native-0.9.3-py2-none-any.whl (7.3 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: resolve-march-native-0.9.3.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.3.tar.gz
Algorithm Hash digest
SHA256 22859192290a68b633a38a796c84d0acd983e6ca225388a239e63d8b60184478
MD5 d5918e68f5178dc221f5a53c00ff3792
BLAKE2b-256 77c3c78f5504321be2223f9126030faa7caca97ebc4f6da541e8b0cb62385506

See more details on using hashes here.

File details

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

File metadata

  • Download URL: resolve_march_native-0.9.3-py3-none-any.whl
  • Upload date:
  • Size: 7.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f5b6e379ba258d7ff5f7c8b2ec55e6f7552f55c6cdcfa9426db7f2e718c42b63
MD5 80b22400231a8c5c0939feed37a83a1e
BLAKE2b-256 1a150df5babefcddd8c86cbc1fa2b4fa6c3863b9e0bb39c2064dbccd8f7ce5d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: resolve_march_native-0.9.3-py2-none-any.whl
  • Upload date:
  • Size: 7.3 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.3-py2-none-any.whl
Algorithm Hash digest
SHA256 ee95f196633ae40f2da833706c143a11304395aa12d423c6a2f6692984a17f10
MD5 91ffd8b43fb7b1183031f532e3cc2eae
BLAKE2b-256 067d5529f29b34dd25b0dda87521aff865c10aeaa007a6cd5c3074146613ae67

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