Skip to content

Do not compile with -march=native#94

Open
capitalistspz wants to merge 1 commit intoopenpnp:masterfrom
capitalistspz:no-march-native
Open

Do not compile with -march=native#94
capitalistspz wants to merge 1 commit intoopenpnp:masterfrom
capitalistspz:no-march-native

Conversation

@capitalistspz
Copy link
Copy Markdown
Contributor

Sometimes things need to be compiled for machines other than the build machine

@capitalistspz
Copy link
Copy Markdown
Contributor Author

capitalistspz commented Feb 20, 2026

If you need it, you can always set it from the command line, e.g.

cmake -S . -B build -DCMAKE_C_FLAGS_RELEASE_INIT="-march=native" -DCMAKE_CXX_FLAGS_RELEASE_INIT="-march=native"

or set the correct variables in a dependent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant