Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
COMP: Install a newer version of CMake on CircleCI
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
  • Loading branch information
thewtex committed Dec 1, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit c3938ff17c4adab40b85e145dfdc64ea31076ec2
2 changes: 2 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -24,6 +24,8 @@ dependencies:
cache_directories:
- "~/.ExternalData"
override:
- pip install --upgrade pip
- pip install cmake
- mkdir -p ${CTEST_BINARY_DIRECTORY}
- git clone --single-branch ${CIRCLE_REPOSITORY_URL} -b dashboard ${DASHBOARD_BRANCH_DIRECTORY}
- mkdir -p "${DISTCC_DIR}" && printf -- "--randomize localhost/2 --localslots=2\n" > "${DISTCC_DIR}/hosts" && for ((i=1;i<CIRCLE_NODE_TOTAL;i++)); do printf "ubuntu@node$i/${DISTCC_SLOTS}\n" >> "${DISTCC_DIR}/hosts"; done