diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 4c26bc340f..971f77ef0b 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -20,7 +20,7 @@ jobs: build: runs-on: ubuntu-latest container: - image: alicevision/alicevision-deps:ci-2020.05.08-centos7-cuda9.0 + image: alicevision/alicevision-deps:ci-2020.05.12-centos7-cuda9.0 env: DEPS_INSTALL_DIR: /opt/AliceVision_install BUILD_TYPE: Release diff --git a/CMakeLists.txt b/CMakeLists.txt index a20c3f6318..1a6eecbdb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -180,7 +180,9 @@ set(TBB_CMAKE_FLAGS -DTBB_INCLUDE_DIRS:PATH=${CMAKE_INSTALL_PREFIX}/include -DTB # Add Eigen set(EIGEN_TARGET eigen) -set(EIGEN_DISABLE_ALIGN_FLAGS -DEIGEN_MAX_ALIGN_BYTES=0 -DEIGEN_MAX_STATIC_ALIGN_BYTES=0) +set(EIGEN_DISABLE_ALIGN_FLAGS + "-DCMAKE_CXX_FLAGS:STRING=-DEIGEN_MAX_ALIGN_BYTES=0 -DEIGEN_MAX_STATIC_ALIGN_BYTES=0" + "-DCMAKE_C_FLAGS:STRING=-DEIGEN_MAX_ALIGN_BYTES=0 -DEIGEN_MAX_STATIC_ALIGN_BYTES=0") ExternalProject_Add(${EIGEN_TARGET} URL https://github.com/eigenteam/eigen-git-mirror/archive/3.3.7.tar.gz PREFIX ${BUILD_DIR} @@ -422,7 +424,7 @@ set(BOOST_CMAKE_FLAGS -DBOOST_ROOT=${CMAKE_INSTALL_PREFIX}) # Add OpenImageIO set(OPENIMAGEIO_TARGET openimageio) ExternalProject_Add(${OPENIMAGEIO_TARGET} - URL https://github.com/OpenImageIO/oiio/archive/Release-2.1.12.0.tar.gz + URL https://github.com/OpenImageIO/oiio/archive/Release-2.1.15.0.tar.gz PREFIX ${BUILD_DIR} BUILD_IN_SOURCE 0 BUILD_ALWAYS 0 @@ -430,7 +432,7 @@ ExternalProject_Add(${OPENIMAGEIO_TARGET} SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/openimageio BINARY_DIR ${BUILD_DIR}/openimageio_build INSTALL_DIR ${CMAKE_INSTALL_PREFIX} - CONFIGURE_COMMAND ${CMAKE_COMMAND} -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" ${CMAKE_CORE_BUILD_FLAGS} -DCMAKE_PREFIX_PATH=${CMAKE_INSTALL_PREFIX} -DBOOST_ROOT=${CMAKE_INSTALL_PREFIX} -DOIIO_BUILD_TESTS:BOOL=OFF -DILMBASE_HOME=${CMAKE_INSTALL_PREFIX} -DOPENEXR_HOME=${CMAKE_INSTALL_PREFIX} ${TIFF_CMAKE_FLAGS} ${ZLIB_CMAKE_FLAGS} ${PNG_CMAKE_FLAGS} ${JPEG_CMAKE_FLAGS} ${LIBRAW_CMAKE_FLAGS} ${OPENEXR_CMAKE_FLAGS} -DCMAKE_INSTALL_PREFIX:PATH= -DUSE_PYTHON=OFF -DUSE_OPENCV=OFF -DUSE_OPENGL=OFF + CONFIGURE_COMMAND ${CMAKE_COMMAND} ${CMAKE_CORE_BUILD_FLAGS} -DCMAKE_PREFIX_PATH=${CMAKE_INSTALL_PREFIX} -DBOOST_ROOT=${CMAKE_INSTALL_PREFIX} -DOIIO_BUILD_TESTS:BOOL=OFF -DILMBASE_HOME=${CMAKE_INSTALL_PREFIX} -DOPENEXR_HOME=${CMAKE_INSTALL_PREFIX} ${TIFF_CMAKE_FLAGS} ${ZLIB_CMAKE_FLAGS} ${PNG_CMAKE_FLAGS} ${JPEG_CMAKE_FLAGS} ${LIBRAW_CMAKE_FLAGS} ${OPENEXR_CMAKE_FLAGS} -DCMAKE_INSTALL_PREFIX:PATH= -DUSE_PYTHON=OFF -DUSE_OPENCV=OFF -DUSE_OPENGL=OFF DEPENDS ${BOOST_TARGET} ${OPENEXR_TARGET} ${TIFF_TARGET} ${PNG_TARGET} ${JPEG_TARGET} ${LIBRAW_TARGET} ${ZLIB_TARGET} ) # TODO: openjpeg