Closed glennpj closed 2 years ago
I think I have fully corrected my copy/paste error.
Yea, I still have something wrong in there.
This does not actually work in spack.
==> [2022-05-20-15:44:52.172974] Applied patch /opt/packages/gpjohnsn/spack/var/spack/repos/builtin/packages/zlib/configure-cc.patch
==> [2022-05-20-15:44:51.966366] [TOOLCHAIN] MATCH Dpcpp
==> [2022-05-20-15:44:51.966504] [TOOLCHAIN] MATCH Oneapi
==> [2022-05-20-15:44:51.966542] [TOOLCHAINS] {'Dpcpp', 'Oneapi'}
==> [2022-05-20-15:44:51.966577] microarchitecture specific optimizations are not supported yet on mixed compiler toolchains [check oneapi@2021.1.2 for further details]
The binaries for oneapi and dpcpp are the same for CC, F77, and FC. The only difference is CXX
I can patch spack to get it to ignore the two toolchains. So, I think this PR is ready and spack will need a separate PR.
@alalazo Let me know how you want to coordinate that. I guess there is no point in patching spack until this is picked up by it.
This PR adds the oneapi and dpcpp compilers to archspec. These compilers are Intel's latest generation compilers and have similar options to the classic Intel compilers. As such, the entries here are based on the intel entires.
Note: I also added entries, including for intel, to the zen3 block. If there was a reason that the intel compiler was not there then the new entries in that section will need to be removed.