CMake merge requestshttps://gitlab.kitware.com/cmake/cmake/-/merge_requests2017-10-10T09:04:16-04:00https://gitlab.kitware.com/cmake/cmake/-/merge_requests/1355FindJava: Revise version parsing to support Java 92017-10-10T09:04:16-04:00Brad KingFindJava: Revise version parsing to support Java 9Java 9 has only one component. Revise the logic to tolerate any number
of version components 1 through 4. Fix the parsing of individual
components.
Fixes: #17325Java 9 has only one component. Revise the logic to tolerate any number
of version components 1 through 4. Fix the parsing of individual
components.
Fixes: #173253.10.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1354CPack: Fix PackageMaker .dmg HFS+ creation on macOS APFS hosts2017-10-05T10:55:07-04:00Brad KingCPack: Fix PackageMaker .dmg HFS+ creation on macOS APFS hostsWhen running `hdiutil create`, specify the HFS+ filesystem explicitly.
Otherwise `hdiutil` may choose a filesystem based on the host. We do
not want to create APFS images for `.dmg` packages because they may not
mount on macOS versions ...When running `hdiutil create`, specify the HFS+ filesystem explicitly.
Otherwise `hdiutil` may choose a filesystem based on the host. We do
not want to create APFS images for `.dmg` packages because they may not
mount on macOS versions prior to 10.12.
This was missed in !1335.3.10.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1347Xcode: Adjust tests to drop of 32bit iOS architectures2017-10-08T16:29:38-04:00Gregor JasnyXcode: Adjust tests to drop of 32bit iOS architectures3.10.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1343FindMatlab: Add support for MATLAB 2017b2017-10-05T07:35:00-04:00Ghost UserFindMatlab: Add support for MATLAB 2017b3.10.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1338Tests: Fix RunCMake.Framework test on macOS 10.13 and Xcode 92017-10-04T07:08:34-04:00Brad KingTests: Fix RunCMake.Framework test on macOS 10.13 and Xcode 9Xcode 9 comes with the iPhoneOS 11.0 SDK that does not support the `armv7` architecture. For this SDK version and newer, use `arm64`.
The archiver output in the case of universal binaries has changed slightly on macOS 10.13. Update ou...Xcode 9 comes with the iPhoneOS 11.0 SDK that does not support the `armv7` architecture. For this SDK version and newer, use `arm64`.
The archiver output in the case of universal binaries has changed slightly on macOS 10.13. Update our expected output to match.3.10.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1335CPack: Fix .dmg HFS+ creation on macOS APFS hosts2017-10-05T10:36:11-04:00Brad KingCPack: Fix .dmg HFS+ creation on macOS APFS hostsWhen running `hdiutil create`, specify the HFS+ filesystem explicitly.
Otherwise `hdiutil` may choose a filesystem based on the host. We do
not want to create APFS images for `.dmg` packages because they may not
mount on macOS versions ...When running `hdiutil create`, specify the HFS+ filesystem explicitly.
Otherwise `hdiutil` may choose a filesystem based on the host. We do
not want to create APFS images for `.dmg` packages because they may not
mount on macOS versions prior to 10.12.3.10.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1316FindMatlab: Fix extraction of quoted version number2017-09-29T08:54:24-04:00Brad KingFindMatlab: Fix extraction of quoted version numberThe version string in recent Matlab versions has changed.
Now the version number is inside two `'`.
Fixes: #17308The version string in recent Matlab versions has changed.
Now the version number is inside two `'`.
Fixes: #173083.10.0Raffi EnficiaudRaffi Enficiaudhttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1295libarchive: Do not use nanosecond file time APIs on macOS < 10.132017-09-21T08:17:57-04:00Brad Kinglibarchive: Do not use nanosecond file time APIs on macOS < 10.13The SDK for macOS 10.13 adds `futimens` and `utimensat` so our checks for these symbols may pass. However, the symbols are not available at runtime on older macOS versions. Instead on macOS we can check for availability based on the de...The SDK for macOS 10.13 adds `futimens` and `utimensat` so our checks for these symbols may pass. However, the symbols are not available at runtime on older macOS versions. Instead on macOS we can check for availability based on the deployment target version.
Issue: #171013.10.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1091Look for Cygwin in more places.2017-08-04T09:24:27-04:00Gerald CombsLook for Cygwin in more places.Add "C:\Cygwin64" and "HKLM\SOFTWARE\WOW6432Node\Cygwin\setup" to the
Cygwin search paths.
Topic-rename: FindCygwin-64-bit
Add "C:\Cygwin64" and "HKLM\SOFTWARE\WOW6432Node\Cygwin\setup" to the
Cygwin search paths.
Topic-rename: FindCygwin-64-bit
3.10.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1522Clang: Do not mistake clang-cl 6.0 for GNU-like clang2019-02-18T07:55:07-05:00Ismail DonmezClang: Do not mistake clang-cl 6.0 for GNU-like clangThe check added by !1373 is incorrectly detecting clang-cl 6.0 as GNU-like.
Currently cmake is testing if the clang compiler accepts --version
to see if it accepts GNU style flags, however with the latest llvm
snapshot this also work...The check added by !1373 is incorrectly detecting clang-cl 6.0 as GNU-like.
Currently cmake is testing if the clang compiler accepts --version
to see if it accepts GNU style flags, however with the latest llvm
snapshot this also works for clang-cl:
```
> clang-cl --version
clang version 6.0.0 (trunk)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin
```
So instead we should use the `/?` flag which fails with clang but
works with clang-cl:
```
> clang-cl /? &> /dev/null; echo $?
0
> clang /? &> /dev/null; echo $?
1
```
Fixes: #175183.10.1Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1635FindPostgres: Add support for PG10.2018-01-09T09:46:24-05:00Egor PuginFindPostgres: Add support for PG10.Is it possible to backport this to 3.10(.2?) branch?
Topic-rename: FindPostgres_support_for_v10Is it possible to backport this to 3.10(.2?) branch?
Topic-rename: FindPostgres_support_for_v103.10.2Robert MaynardRobert Maynardhttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1875Features: Record for SunPro 5.152018-03-21T08:54:53-04:00Brad KingFeatures: Record for SunPro 5.15Oracle Developer Studio 12.6 adds support for more C++ 11 features.Oracle Developer Studio 12.6 adds support for more C++ 11 features.3.11.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1853FindJNI: add some new architecture names for mips release 62018-03-15T07:53:55-04:00YunQiang SuFindJNI: add some new architecture names for mips release 6Some new mips architectures have been added for mips release 6.
MIPS r6 is not full compatible with the pre-R6 releases:
it removes some instruction and changes encoding of some.
These new architectures is
mipsr6/mipsr6el/mipsn32r6/m...Some new mips architectures have been added for mips release 6.
MIPS r6 is not full compatible with the pre-R6 releases:
it removes some instruction and changes encoding of some.
These new architectures is
mipsr6/mipsr6el/mipsn32r6/mipsn32r6el/mips64r6/mips64r6el.3.11.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1820XL: Recognize compilers identified by __ibmxl__2018-06-07T10:07:31-04:00Brad KingXL: Recognize compilers identified by __ibmxl__IBM XL C/C++ for Linux versions 13.1.6 and above no longer define
`__IBMC__` or `__IBMCPP__` by default (see `-qxlcompatmacros`).
Instead `__ibmxl__` now identifies the compiler along with some
related new version macros.
Fixes: #17784IBM XL C/C++ for Linux versions 13.1.6 and above no longer define
`__IBMC__` or `__IBMCPP__` by default (see `-qxlcompatmacros`).
Instead `__ibmxl__` now identifies the compiler along with some
related new version macros.
Fixes: #177843.11.0Chuck AtkinsChuck Atkinshttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1785Tests: Make CompileFeatures C dialect check consistent with impl2018-02-22T11:24:11-05:00Brad KingTests: Make CompileFeatures C dialect check consistent with impl`Modules/CMakeCCompilerId.c.in` will report the C dialect as 11 whenever
`__STDC_VERSION__` indicates *at least* C 11. Make the test consistent
with this. We already do this for the C++ case.
Fixes: #17740`Modules/CMakeCCompilerId.c.in` will report the C dialect as 11 whenever
`__STDC_VERSION__` indicates *at least* C 11. Make the test consistent
with this. We already do this for the C++ case.
Fixes: #177403.11.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1754FindImageMagick: Add more library names2018-02-13T11:19:18-05:00RomanFindImageMagick: Add more library namesSince ImageMagick 7.0.x it can't find the libraries CORE_RL_MagickWand_ and CORE_RL_MagickCore_Since ImageMagick 7.0.x it can't find the libraries CORE_RL_MagickWand_ and CORE_RL_MagickCore_3.11.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1659GNU: Use -fvisibility on AIX when supported2018-01-16T09:25:05-05:00Brad KingGNU: Use -fvisibility on AIX when supportedRevise the logic from commit 4feba34d02fe42fd20209e5b247f91d8e0f7a2ac to add a version check. The [GCC 7 release notes](https://gcc.gnu.org/gcc-7/changes.html) state that visibility support has been added for AIX 7.1 and above.Revise the logic from commit 4feba34d02fe42fd20209e5b247f91d8e0f7a2ac to add a version check. The [GCC 7 release notes](https://gcc.gnu.org/gcc-7/changes.html) state that visibility support has been added for AIX 7.1 and above.3.11.0Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1637FindJava.cmake: ignore javah for JDK 10, it has been removed2018-04-24T15:59:32-04:00StefanBruensFindJava.cmake: ignore javah for JDK 10, it has been removedThe standalone javah tool has been removed, header generation happens
during execution of javac. "javac -h" allows generation of headers only.
See http://openjdk.java.net/projects/jdk/10/ and
http://openjdk.java.net/jeps/313 for det...The standalone javah tool has been removed, header generation happens
during execution of javac. "javac -h" allows generation of headers only.
See http://openjdk.java.net/projects/jdk/10/ and
http://openjdk.java.net/jeps/313 for details.
Sufficient to build VTK with JDK 10, other toolchains/projects may need
further changes.
Fixes: #17613
Topic-rename: FindJava-jdk-10
3.11.0David StoupDavid Stouphttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1605FindLibLZMA: Add library name for Windows2017-12-18T17:05:24-05:00Christian PfeifferFindLibLZMA: Add library name for WindowsFixes: #17568Fixes: #175683.11.0Christian PfeifferChristian Pfeifferhttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/1589IRSL: Skip libgfxoffload if no Intel C++ is used2020-07-02T12:40:04-04:00Christian PfeifferIRSL: Skip libgfxoffload if no Intel C++ is used`libgfxoffload` is only used and installed by the Intel C/C++ compilers
and will be unavailable if only Intel Fortran has been installed.
Fixes: #17550`libgfxoffload` is only used and installed by the Intel C/C++ compilers
and will be unavailable if only Intel Fortran has been installed.
Fixes: #175503.11.0Christian PfeifferChristian Pfeiffer