Skip to content

COMP: Install a newer version of CMake on CircleCI#15

Closed
thewtex wants to merge 1 commit into
InsightSoftwareConsortium:masterfrom
thewtex:CircleCICMakeVersion
Closed

COMP: Install a newer version of CMake on CircleCI#15
thewtex wants to merge 1 commit into
InsightSoftwareConsortium:masterfrom
thewtex:CircleCICMakeVersion

Conversation

@thewtex

@thewtex thewtex commented Dec 1, 2016

Copy link
Copy Markdown
Member

Use the Python CMake wheel, which currently provides CMake 3.7.0.

This avoids the warning:

Source FileModules/Numerics/FEM/src/dsrc2c.c
Command
[+] "/usr/bin/distcc"
Directory/home/ubuntu/ITK-build/Modules/Numerics/FEM/src
Standard Error
cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for
C++/ObjC++ but not for C [enabled by default]

That has been addressed on newer CMake.

Change-Id: I95c166f8b5592ad385bd165d3253788d80934f17

Use the Python CMake wheel, which currently provides CMake 3.7.0.

This avoids the warning:

  Source FileModules/Numerics/FEM/src/dsrc2c.c
  Command
  [+] "/usr/bin/distcc"
  Directory/home/ubuntu/ITK-build/Modules/Numerics/FEM/src
  Standard Error
  cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for
  C++/ObjC++ but not for C [enabled by default]

That has been addressed on newer CMake.

Change-Id: I95c166f8b5592ad385bd165d3253788d80934f17
@blowekamp

Copy link
Copy Markdown
Member

It looks like the problem is fixed on the dashboard:
https://open.cdash.org/buildSummary.php?buildid=4666554

As it is all green.

On the CircleCI there are no errors, warnings or test failures indicated either. But we do have the exit code:

export CTEST_OUTPUT_ON_FAILURE="1"
export DASHBOARD_MODEL="$( [[ "$CIRCLE_BRANCH" = "master" ]] && echo Continuous || echo Experimental )"
export CTEST_CONFIGURATION_TYPE="Release"
ctest -V -S "${DASHBOARD_BRANCH_DIRECTORY}/circleci.cmake"
returned exit code 255

Any ideas?

@thewtex

thewtex commented Dec 1, 2016

Copy link
Copy Markdown
Member Author

Yes, it should be exit code 0.

@blowekamp

Copy link
Copy Markdown
Member

Yes, it should be 0 for success... But why is it 255? Hmm....

@thewtex

thewtex commented Dec 2, 2016

Copy link
Copy Markdown
Member Author

Merged via Gerrit.

@thewtex thewtex closed this Dec 2, 2016
@thewtex
thewtex deleted the CircleCICMakeVersion branch December 2, 2016 21:21
kwrobot pushed a commit to Kitware/ITK that referenced this pull request Mar 31, 2017
Francois Budin (2):
      ENH: Support covariant vector images
      ENH: Wraps Symmetric Second Rank Tensors images

Matt McCormick (2):
      Merge pull request InsightSoftwareConsortium#15 from fbudin69500/SupportCovariantVector
      Merge pull request InsightSoftwareConsortium#16 from fbudin69500/WrappingSymmetricSecondRankTensorImages

Change-Id: Iad300de405e8d5659f221eaa8221bd63cbf2fef4
HastingsGreer pushed a commit to HastingsGreer/ITK that referenced this pull request Feb 18, 2019
…erters

ENH: Refactoring Meta*Converter classes
blowekamp added a commit to blowekamp/ITK that referenced this pull request Nov 4, 2021
f885603 Merge pull request InsightSoftwareConsortium#15 from blowekamp/UpdateITK5.3
ad91905 Change testing data to sha512 uploaded to data.kitware
c1ab584 Update to ITK 5.3rc2
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 19, 2026
Fixing appearance of Not-A-Number values when gradient is 0
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 19, 2026
…esh-cells

BUG: Only process mesh cells when present
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 19, 2026
…wBuildingExamples

ENH: Allow building examples.
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 19, 2026
…throw_upstream

COMP: Remove deprecated throw specification
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 19, 2026
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 19, 2026
…MakeMinimumRequiredVersion

ENH: Add CMake minimum required version.
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 28, 2026
hjmjohnson pushed a commit that referenced this pull request Apr 30, 2026
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 4, 2026
…-fix

Fixing appearance of Not-A-Number values when gradient is 0
hjmjohnson pushed a commit that referenced this pull request May 5, 2026
…CMake

DOC: Re-use `README.rst` info in `itk-module.cmake`.
hjmjohnson pushed a commit that referenced this pull request May 5, 2026
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 6, 2026
Francois Budin (2):
      ENH: Support covariant vector images
      ENH: Wraps Symmetric Second Rank Tensors images

Matt McCormick (2):
      Merge pull request InsightSoftwareConsortium#15 from fbudin69500/SupportCovariantVector
      Merge pull request InsightSoftwareConsortium#16 from fbudin69500/WrappingSymmetricSecondRankTensorImages

Change-Id: Iad300de405e8d5659f221eaa8221bd63cbf2fef4
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 6, 2026
f885603 Merge pull request InsightSoftwareConsortium#15 from blowekamp/UpdateITK5.3
ad91905 Change testing data to sha512 uploaded to data.kitware
c1ab584 Update to ITK 5.3rc2
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 6, 2026
…MakeMinimumRequiredVersion

ENH: Add CMake minimum required version.
hjmjohnson added a commit to hjmjohnson/ITK that referenced this pull request May 6, 2026
…wareConsortium/ITKv5_1rc2

Updates for ITKv5.2 code cleanups ... ROUND1
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 12, 2026
Francois Budin (2):
      ENH: Support covariant vector images
      ENH: Wraps Symmetric Second Rank Tensors images

Matt McCormick (2):
      Merge pull request InsightSoftwareConsortium#15 from fbudin69500/SupportCovariantVector
      Merge pull request InsightSoftwareConsortium#16 from fbudin69500/WrappingSymmetricSecondRankTensorImages

Change-Id: Iad300de405e8d5659f221eaa8221bd63cbf2fef4
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 12, 2026
f885603 Merge pull request InsightSoftwareConsortium#15 from blowekamp/UpdateITK5.3
ad91905 Change testing data to sha512 uploaded to data.kitware
c1ab584 Update to ITK 5.3rc2
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 12, 2026
…MakeMinimumRequiredVersion

ENH: Add CMake minimum required version.
hjmjohnson pushed a commit that referenced this pull request May 13, 2026
Adapt to new multi-threading naming convention. Specifically:

- Change `itk::DomainThreader::GetNumberOfThreads` to
  `itk::DomainThreader::GetNumberOfWorkUnits`.
- Change `itk::DomainThreader::SetNumberOfThreads` to
  `itk::DomainThreader::SetNumberOfWorkUnits`.

after commit:
ce15429

Addresses deprecation warnings such as:
```
/ITKParabolicMorphology/include/itkParabolicOpenCloseImageFilter.hxx:206:36:
warning: 'virtual void
itk::MultiThreaderBase::SetNumberOfThreads(itk::ThreadIdType)' is
deprecated [-Wdeprecated-declarations]
multithreader->SetNumberOfThreads(nbthreads);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from
/ITK/Modules/IO/ImageBase/include/itkImageFileReaderException.h:22:0,
from /ITK/Modules/IO/ImageBase/include/itkImageFileReader.h:20,
from /ITKParabolicMorphology/test/itkParaOpenTest.cxx:19:
/ITK/Modules/Core/Common/include/itkMultiThreaderBase.h:158:32: note:
declared here
itkLegacyMacro( virtual void SetNumberOfThreads( ThreadIdType
numberOfThreads ) )
^
/ITK/Modules/Core/Common/include/itkMacro.h:559:32: note: in definition of
macro 'itkLegacyMacro'
^~~~~~
```

Uncovered by the CI added in PR #15 and Circle CI failures in:
https://circleci.com/gh/InsightSoftwareConsortium/ITKParabolicMorphology/4?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
hjmjohnson pushed a commit that referenced this pull request May 13, 2026
ENH: Add CI configuration files.
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 14, 2026
dzenanz pushed a commit that referenced this pull request May 18, 2026
COMP: Suppress unused numBytes numBlocks warnings
hjmjohnson pushed a commit that referenced this pull request May 19, 2026
hjmjohnson pushed a commit that referenced this pull request May 20, 2026
COMP: Remove deprecated throw specification
dzenanz added a commit that referenced this pull request May 25, 2026
…g-format

This is a general version update. It still fails to compile on Windows.
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 26, 2026
…esh-cells

BUG: Only process mesh cells when present
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Jun 3, 2026
…xygen-warnings

COMP: Doxygen file in the middle of a comment block
hjmjohnson pushed a commit that referenced this pull request Jun 3, 2026
ENH: Bump Azure ITK version for ITK 5.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants