Skip to content

Allow jobs to pass additional compiler flags

Jö Fahlke requested to merge joe/ci:allow-duneci-compiler-flags into master

Jobs can pass these additional flags in the variables DUNECI_CFLAGS and DUNECI_CXXFLAGS. This is similar to what is already possible with DUNECI_CMAKE_FLAGS, except that that variable cannot be used to pass additional compiler flags.

This is meant for flags that select particular sub-achitectures such as -march. Jobs still need to make sure to select a suitable runner actually supporting those architectures via runner tags.

Addresses: core/dune-common#165 (closed)

Merge request reports