CMake merge requestshttps://gitlab.kitware.com/cmake/cmake/-/merge_requests2023-10-16T10:37:39-04:00https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8874PGI/NVHPC: Remove -Mipa compiler option for 23.3+2023-10-16T10:37:39-04:00مهدي شينون (Mehdi Chinoune)PGI/NVHPC: Remove -Mipa compiler option for 23.3+`-Mipa` was removed since 23.3. The compiler warns about it:
nvfortran-Warning-The option -Mipa has been deprecated and is ignored.
See: https://docs.nvidia.com/hpc-sdk/archive/23.9/hpc-sdk-release-notes/index.html#deprecations
...`-Mipa` was removed since 23.3. The compiler warns about it:
nvfortran-Warning-The option -Mipa has been deprecated and is ignored.
See: https://docs.nvidia.com/hpc-sdk/archive/23.9/hpc-sdk-release-notes/index.html#deprecations
Backport: release3.28.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/6430NVHPC: support new c and c++ standards2021-08-09T09:37:07-04:00Robert MaynardNVHPC: support new c and c++ standardsBackport: releaseBackport: release3.21.2Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/9319cmzstd: Explicitly disable ASM2024-03-13T10:30:31-04:00Kyle Edwardscmzstd: Explicitly disable ASMOur vendored zstd does not include the assembly language file from
upstream (`huf_decompress_amd64.S`), so it's fine to completely disable
assembly language.
Fixes: #25744Our vendored zstd does not include the assembly language file from
upstream (`huf_decompress_amd64.S`), so it's fine to completely disable
assembly language.
Fixes: #257443.30.0Kyle EdwardsKyle Edwardshttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/8588NVHPC: Support nvfortran versions that don't support isystem2023-06-26T09:45:02-04:00Robert MaynardNVHPC: Support nvfortran versions that don't support isystemBackport: release
Fixes: #25019Backport: release
Fixes: #250193.27.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/8435Ninja: Revert "Exclude NVHPC -Werror flags during Fortran preprocessing"2023-04-27T09:40:25-04:00Brad KingNinja: Revert "Exclude NVHPC -Werror flags during Fortran preprocessing"Revert !8393. Since !8415, `nvfortran` can handle the plain `-Werror` flag during preprocessing.
Issue: #24665Revert !8393. Since !8415, `nvfortran` can handle the plain `-Werror` flag during preprocessing.
Issue: #246653.27.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/8415NVHPC: Use -Werror for COMPILE_OPTIONS_WARNING_AS_ERROR2023-04-26T14:41:31-04:00Robert MaynardNVHPC: Use -Werror for COMPILE_OPTIONS_WARNING_AS_ERRORThe previously used `-Werror all-warnings` is not supported by
the NVHPC suite of compilers. This previously worked since `-Werror`
was being used and `all-warnings` was being excluded.
We thought this was the correct syntax due to inco...The previously used `-Werror all-warnings` is not supported by
the NVHPC suite of compilers. This previously worked since `-Werror`
was being used and `all-warnings` was being excluded.
We thought this was the correct syntax due to incorrect documentation
about `-Werror` which stated the argument should be space separated
while it should actually be separated with `=` or `,`.
Related issues/PRs: #24665, !83933.27.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/8393Ninja: Exclude NVHPC -Werror flags during Fortran preprocessing2023-04-26T14:39:28-04:00Brad KingNinja: Exclude NVHPC -Werror flags during Fortran preprocessingThe Ninja generator preprocesses Fortran separately in order to scan for
module dependencies. NVHPC's `nvfortran` does not support its `-Werror`
flag while preprocessing with `-E`, so filter it out.
Fixes: #24665The Ninja generator preprocesses Fortran separately in order to scan for
module dependencies. NVHPC's `nvfortran` does not support its `-Werror`
flag while preprocessing with `-E`, so filter it out.
Fixes: #246653.27.0Craig ScottCraig Scotthttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/8385NVHPC,NVCC: use -Werror=all-warnings flag2023-04-04T09:49:00-04:00scivisionNVHPC,NVCC: use -Werror=all-warnings flagFixes: #24665Fixes: #24665https://gitlab.kitware.com/cmake/cmake/-/merge_requests/7994gitlab-ci: Update NVHPC to version 22.112022-12-07T08:15:17-05:00Brad Kinggitlab-ci: Update NVHPC to version 22.11Fixes: #24225Fixes: #242253.26.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/7987gitlab-ci: Select CUDA version explicitly in NVHPC job2022-12-06T08:08:03-05:00Brad Kinggitlab-ci: Select CUDA version explicitly in NVHPC jobThe job added by !7946 started failing after CI hosts
were updated from NVIDIA driver version 520 to version 525. Somehow
this causes the NVHPC multi-cuda `nvcc` wrapper to select CUDA 10.2
instead of 11.7 as with older driver versions....The job added by !7946 started failing after CI hosts
were updated from NVIDIA driver version 520 to version 525. Somehow
this causes the NVHPC multi-cuda `nvcc` wrapper to select CUDA 10.2
instead of 11.7 as with older driver versions.
As a workaround, add the preferred version of `nvcc` to the PATH.
Issue: #242253.26.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/7946gitlab-ci: add nightly job testing NVHPC with Ninja on Linux2022-12-05T13:37:23-05:00Brad Kinggitlab-ci: add nightly job testing NVHPC with Ninja on LinuxAdd a CI job in the nightly pipeline schedule to run the test suite with NVHPC.Add a CI job in the nightly pipeline schedule to run the test suite with NVHPC.3.26.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/7564NVHPC: Enable PIE support on linux2022-09-20T14:54:51-04:00Robert MaynardNVHPC: Enable PIE support on linuxNVHPC compilers support -fPIE and -FPIC. Verified that nvhpc 20.11+ offer the flags for `nvc`, `nvc++`, and `nvfortran`.NVHPC compilers support -fPIE and -FPIC. Verified that nvhpc 20.11+ offer the flags for `nvc`, `nvc++`, and `nvfortran`.3.25.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/7415NVHPC: warnings as error flag is "-Werror"2022-07-05T10:32:59-04:00Robert MaynardNVHPC: warnings as error flag is "-Werror"Backport: release
Topic-rename: nvhpc-WerrorBackport: release
Topic-rename: nvhpc-Werror3.24.0Robert MaynardRobert Maynardhttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/6850Fortran: Support searching for the `nvfortran` executable2022-01-11T08:03:22-05:00Robert MaynardFortran: Support searching for the `nvfortran` executableInstead of relying on the PGI symlinks (pgf95/pgf90/...) to always exist.Instead of relying on the PGI symlinks (pgf95/pgf90/...) to always exist.3.23.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/6691NVHPC: Support SYSTEM include directories2022-04-29T16:53:52-04:00Robert MaynardNVHPC: Support SYSTEM include directoriesFixes: #22834
Backport: release
Topic-rename: nvhpc-isystemFixes: #22834
Backport: release
Topic-rename: nvhpc-isystem3.22.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/6602NVHPC: only use '-MD' for the C and CXX languages2021-10-07T09:11:26-04:00Robert MaynardNVHPC: only use '-MD' for the C and CXX languagesCMake shouldn't use '-MD' for nvfortran to generate dependency information.
Fixes: #22723
Backport: releaseCMake shouldn't use '-MD' for nvfortran to generate dependency information.
Fixes: #22723
Backport: release3.21.4Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/6408NVHPC: Support 21.07 change to '-MD' where it behaves like gcc2021-10-06T11:38:00-04:00Robert MaynardNVHPC: Support 21.07 change to '-MD' where it behaves like gccCMake can now get `nvc` and `nvc++` to generate dependency information when it is compiling, instead of having to invoke the compiler a second time.
Backport: release
Topic-rename: nvhpc-MD-flagCMake can now get `nvc` and `nvc++` to generate dependency information when it is compiling, instead of having to invoke the compiler a second time.
Backport: release
Topic-rename: nvhpc-MD-flag3.21.2Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/6136NVHPC: Support Ninja dependency scan, and explicit language flags2021-05-19T07:54:49-04:00Robert MaynardNVHPC: Support Ninja dependency scan, and explicit language flagsFixes: #22168
Backport: release
Topic-rename: nvhpc-ninja-depfileFixes: #22168
Backport: release
Topic-rename: nvhpc-ninja-depfile3.20.3https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6063KWSys: Update to version as of 2021-04-292021-05-03T09:58:52-04:00Brad KingKWSys: Update to version as of 2021-04-29Integrate utils/kwsys!213.Integrate utils/kwsys!213.3.21.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/5857NVHPC/PGI: Update docs and C++98 flags2021-02-25T09:02:06-05:00Robert MaynardNVHPC/PGI: Update docs and C++98 flagsBackport: release
Topic-rename: nvhpc-minor-fixesBackport: release
Topic-rename: nvhpc-minor-fixes3.20.0Brad KingBrad King