Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hartwork/resolve-march-native
:snail: Tool to determine what GCC flags -march=native would resolve into
https://github.com/hartwork/resolve-march-native
cli compilation cross-compilation distcc distccflags gcc python python3 tool
Last synced: 15 days ago
JSON representation
:snail: Tool to determine what GCC flags -march=native would resolve into
- Host: GitHub
- URL: https://github.com/hartwork/resolve-march-native
- Owner: hartwork
- Created: 2015-08-05T19:38:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-18T18:23:25.000Z (25 days ago)
- Last Synced: 2024-10-18T21:46:27.689Z (25 days ago)
- Topics: cli, compilation, cross-compilation, distcc, distccflags, gcc, python, python3, tool
- Language: Python
- Homepage: https://pypi.python.org/pypi/resolve-march-native
- Size: 364 KB
- Stars: 43
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![Run the test suite](https://github.com/hartwork/resolve-march-native/actions/workflows/run-tests.yml/badge.svg)](https://github.com/hartwork/resolve-march-native/actions/workflows/run-tests.yml)# About
**resolve-march-native** is a small command line tool to resolve
`-march=native` into explicit GCC flags.# Example
```console
$ resolve-march-native --vertical
-march=bonnell
-mno-cx16
--param l1-cache-line-size=64
--param l1-cache-size=24
```# Usage
```console
$ 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 exitSoftware libre licensed under GPL v2 or later.
Brought to you by Sebastian Pipping .Please report bugs at https://github.com/hartwork/resolve-march-native/issues — thank you!
```