<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cmake.git/Tests/CMakeOnly, branch master</title>
<subtitle>gitlab.kitware.com: cmake/cmake.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/'/>
<entry>
<title>Tests: Bump CMake minimum required in tests to 3.5</title>
<updated>2023-03-01T21:36:54+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2023-03-01T20:55:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=f53bd6f45064fdf16c6c562edaf58bdcab8ee061'/>
<id>f53bd6f45064fdf16c6c562edaf58bdcab8ee061</id>
<content type='text'>
CMake 3.27 deprecates compatibility with CMake &lt; 3.5.  Update tests that
do not cover older interfaces to avoid the deprecation warning.

Follow the pattern from:

* commit 7b07ccdd2b (Tests/*Only: Update cmake_minimum_required versions,
                     2020-06-15, v3.19.0-rc1~629^2~1)

* commit 72e7c45e98 (Tests: Bump CMake minimum required in tests to 2.8.12,
                     2020-12-22, v3.20.0-rc1~224^2)

* commit f6b4db365a (Tests: bump cmake_minimum_required version to 2.8.12,
                     2021-04-04, v3.21.0-rc1~372^2)

Also remove explicit `cmake_policy` settings made redundant by the
version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CMake 3.27 deprecates compatibility with CMake &lt; 3.5.  Update tests that
do not cover older interfaces to avoid the deprecation warning.

Follow the pattern from:

* commit 7b07ccdd2b (Tests/*Only: Update cmake_minimum_required versions,
                     2020-06-15, v3.19.0-rc1~629^2~1)

* commit 72e7c45e98 (Tests: Bump CMake minimum required in tests to 2.8.12,
                     2020-12-22, v3.20.0-rc1~224^2)

* commit f6b4db365a (Tests: bump cmake_minimum_required version to 2.8.12,
                     2021-04-04, v3.21.0-rc1~372^2)

Also remove explicit `cmake_policy` settings made redundant by the
version.
</pre>
</div>
</content>
</entry>
<entry>
<title>Find{BZip2,LibLZMA,ZLIB}: use *_VERSION as modern CMake</title>
<updated>2022-11-07T21:22:31+00:00</updated>
<author>
<name>Michael Hirsch</name>
<email>scivision@users.noreply.gitlab.kitware.com</email>
</author>
<published>2022-11-06T19:02:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=9e3f1723ff931c07ca18e1d3256ba2063e7b4b86'/>
<id>9e3f1723ff931c07ca18e1d3256ba2063e7b4b86</id>
<content type='text'>
The old *_VERSION_STRING is silently left set for backward compat.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old *_VERSION_STRING is silently left set for backward compat.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: handle a case when hg executable is broken</title>
<updated>2022-06-28T15:12:04+00:00</updated>
<author>
<name>makise-homura</name>
<email>akemi_homura@kurisa.ch</email>
</author>
<published>2022-06-23T20:09:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=b05d297964b4352b81f7ed4aab247609b6a4b0b7'/>
<id>b05d297964b4352b81f7ed4aab247609b6a4b0b7</id>
<content type='text'>
OS Elbrus 6.0-rc1 to rc3 have hg executable broken
because of python2 and python3 module directories conflict.
Here, we avoid hg related tests if such case is detected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OS Elbrus 6.0-rc1 to rc3 have hg executable broken
because of python2 and python3 module directories conflict.
Here, we avoid hg related tests if such case is detected.
</pre>
</div>
</content>
</entry>
<entry>
<title>CheckSymbolExists: Work around GCC failure with -pedantic-errors option</title>
<updated>2021-10-22T13:48:51+00:00</updated>
<author>
<name>Timo Röhling</name>
<email>roehling@debian.org</email>
</author>
<published>2021-10-22T13:47:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=1ab7c3cd28b27ca162c4559e1026e5cad1898ade'/>
<id>1ab7c3cd28b27ca162c4559e1026e5cad1898ade</id>
<content type='text'>
GCC mistakenly issues the pedantic warning "ISO C forbids conversion of
function pointer to object pointer type". With -pedantic-errors in the
compile flags, that diagnostic prevents check_symbol_exists() from
detecting function symbols.

The solution is to filter out -pedantic-errors (and -Werror, just to be
future proof) before invoking try_compile().

Fixes: #13208
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GCC mistakenly issues the pedantic warning "ISO C forbids conversion of
function pointer to object pointer type". With -pedantic-errors in the
compile flags, that diagnostic prevents check_symbol_exists() from
detecting function symbols.

The solution is to filter out -pedantic-errors (and -Werror, just to be
future proof) before invoking try_compile().

Fixes: #13208
</pre>
</div>
</content>
</entry>
<entry>
<title>LCC: Add policy CMP0129 regarding interpreting LCC as GNU</title>
<updated>2021-10-21T14:24:22+00:00</updated>
<author>
<name>makise-homura</name>
<email>akemi_homura@kurisa.ch</email>
</author>
<published>2021-10-19T18:43:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=3958ed878f2365fd1af004341d45dac7f4e94afb'/>
<id>3958ed878f2365fd1af004341d45dac7f4e94afb</id>
<content type='text'>
Due to MCST LCC compiler identification is now changed to LCC,
there should be a way for old projects to still identify it as GNU,
as it was before.
This commits adds the policy:
CMP0129: Compiler id for MCST LCC compilers is now LCC, not GNU.
This policy controls such a behavior.
OLD behaivior is to treat LCC as GNU, NEW is to treat is as LCC.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to MCST LCC compiler identification is now changed to LCC,
there should be a way for old projects to still identify it as GNU,
as it was before.
This commits adds the policy:
CMP0129: Compiler id for MCST LCC compilers is now LCC, not GNU.
This policy controls such a behavior.
OLD behaivior is to treat LCC as GNU, NEW is to treat is as LCC.
</pre>
</div>
</content>
</entry>
<entry>
<title>LCC: Add dedicated support for MCST LCC compiler</title>
<updated>2021-10-15T02:05:19+00:00</updated>
<author>
<name>makise-homura</name>
<email>akemi_homura@kurisa.ch</email>
</author>
<published>2021-10-05T19:41:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=e5d9fce03feeece7f53451da9fb958db2613d31e'/>
<id>e5d9fce03feeece7f53451da9fb958db2613d31e</id>
<content type='text'>
Divert LCC compiler as a new one, instead of treating it as GNU.

Since old times, Elbrus C/C++/Fortran Compiler (LCC) by MCST has been
passing checks for GNU compilers, so it has been identified as GNU.
Now, with intent of seriously upstreaming its support, it has been
added as a separate LCC compiler, and its version displays not a
supported GCC version, but LCC version itself (e.g. LCC 1.25.19 instead
of GNU 7.3.0).

This commit adds its support for detection, and also converts basically
every check like 'is this compiler GNU?' to 'is this compiler GNU or
LCC?'. The only places where this check is untouched, is where it
regards other platforms where LCC is unavailable (primarily non-Linux),
and where it REALLY differs from GNU compiler.

Note: this transition may break software that are already ported to
Elbrus, but hardly relies that LCC will be detected as GNU; still such
software is not known.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Divert LCC compiler as a new one, instead of treating it as GNU.

Since old times, Elbrus C/C++/Fortran Compiler (LCC) by MCST has been
passing checks for GNU compilers, so it has been identified as GNU.
Now, with intent of seriously upstreaming its support, it has been
added as a separate LCC compiler, and its version displays not a
supported GCC version, but LCC version itself (e.g. LCC 1.25.19 instead
of GNU 7.3.0).

This commit adds its support for detection, and also converts basically
every check like 'is this compiler GNU?' to 'is this compiler GNU or
LCC?'. The only places where this check is untouched, is where it
regards other platforms where LCC is unavailable (primarily non-Linux),
and where it REALLY differs from GNU compiler.

Note: this transition may break software that are already ported to
Elbrus, but hardly relies that LCC will be detected as GNU; still such
software is not known.
</pre>
</div>
</content>
</entry>
<entry>
<title>MSYS: Add support for running under MSYS runtime environment</title>
<updated>2021-04-26T18:27:34+00:00</updated>
<author>
<name>Orgad Shaneh</name>
<email>orgads@gmail.com</email>
</author>
<published>2021-04-01T17:03:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=ddcd1469e8377fe258913a20aa47e65f71f8695b'/>
<id>ddcd1469e8377fe258913a20aa47e65f71f8695b</id>
<content type='text'>
Detect MSYS as CYGWIN, with the required adaptations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Detect MSYS as CYGWIN, with the required adaptations.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: bump cmake_minimum_required version to 2.8.12</title>
<updated>2021-04-05T13:53:07+00:00</updated>
<author>
<name>Rolf Eike Beer</name>
<email>eike@sf-mail.de</email>
</author>
<published>2021-04-04T20:57:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=f6b4db365a5e5723029c06357e81aa6c93ba1f76'/>
<id>f6b4db365a5e5723029c06357e81aa6c93ba1f76</id>
<content type='text'>
This needlessly produces warnings during the test runs that no-one
sees but that are distracting when actually inspecting the logs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This needlessly produces warnings during the test runs that no-one
sees but that are distracting when actually inspecting the logs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: Bump CMake minimum required in tests to 2.8.12</title>
<updated>2020-12-23T13:55:45+00:00</updated>
<author>
<name>Chuck Atkins</name>
<email>chuck.atkins@kitware.com</email>
</author>
<published>2020-12-22T14:47:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=72e7c45e984c006c12a4cb8159d3fa3784c02212'/>
<id>72e7c45e984c006c12a4cb8159d3fa3784c02212</id>
<content type='text'>
Since 3.19, CMake generates a deprecation warning when using a minimum
version less than 2.8.12.  This eliminates those warnings generated
during tests, which are typically hidden from the user and developer but
are being generated nonetheless.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since 3.19, CMake generates a deprecation warning when using a minimum
version less than 2.8.12.  This eliminates those warnings generated
during tests, which are typically hidden from the user and developer but
are being generated nonetheless.
</pre>
</div>
</content>
</entry>
<entry>
<title>CUDA: Add Support to SourceCompiles|Runs and CheckCompilerFlags</title>
<updated>2020-10-08T12:30:59+00:00</updated>
<author>
<name>Robert Maynard</name>
<email>robert.maynard@kitware.com</email>
</author>
<published>2020-09-24T19:31:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=da2622ff366e6089a98109c68ececac58d598b66'/>
<id>da2622ff366e6089a98109c68ececac58d598b66</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
