Commit 54ba79c
committed
Strip GCC-only
conda-forge's `gcc`/`g++` compiler activation injects
`-fno-merge-constants` into `CFLAGS`/`CXXFLAGS` when `CONDA_BUILD==1`.
The dpnp conda recipe builds with the Intel oneAPI compilers
(`icx`/`icpx`), which do not implement this GCC flag and emit a warning
on every compile unit:
```
icpx: command line warning #10430: Unsupported command line options encountered
These options as listed are not supported.
For more information, use '-qnextgen-diag'.
option list:
-fno-merge-constants
```
This PR removes `-fno-merge-constants` from `CFLAGS`/`CXXFLAGS` in
`conda-recipe/build.sh`. f60cdfe-fno-merge-constants from flags in conda build (#2978)1 parent 8e465b1 commit 54ba79c
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1040 | 1040 | | |
1041 | 1041 | | |
1042 | 1042 | | |
1043 | | - | |
| 1043 | + | |
1044 | 1044 | | |
1045 | 1045 | | |
1046 | 1046 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments