nipy / mindboggle

Automated anatomical brain label/shape analysis software (+ website)
http://mindboggle.info
Other
146 stars 54 forks source link

circleci tests and vtk #92

Closed binarybottle closed 7 years ago

binarybottle commented 7 years ago

circleci tests are failing in the master branch because of the vtk error we have seen in different linux installations: https://circleci.com/gh/nipy/mindboggle/844

/usr/bin/ld: warning: libLLVM-3.3.so, needed by /home/ubuntu/miniconda/envs/mindboggle-env/lib/libOSMesa.so.8, not found (try using -rpath or -rpath-link) /home/ubuntu/miniconda/envs/mindboggle-env/lib/libOSMesa.so.8: undefined reference to `typeinfo for llvm::MemoryObject' ... collect2: error: ld returned 1 exit status make[2]: [travel_depth/TravelDepthMain] Error 1 make[1]: [travel_depth/CMakeFiles/TravelDepthMain.dir/all] Error 2 make: *** [all] Error 2 mkdir $vtk_cpp_tools && cd $vtk_cpp_tools && cmake ../ && make returned exit code 2

Do we need to specify the version of ubuntu that circleci is running?

binarybottle commented 7 years ago

Solved: I changed circleci's default ubuntu to 14.04 (it was 12.04) and added the following to the circleci.yml file:

pre:
    - sudo apt-get update; sudo apt-get install libllvm-3.3