Commit 00d8f0c8 authored by Antoine Regimbeau's avatar Antoine Regimbeau

Change way of handling Large input

parent f627e28f
......@@ -58,11 +58,6 @@ OTB_USE_SSE_FLAGS:BOOL=ON")
set (otb_wrap_option
"OTB_WRAP_PYTHON:BOOL=ON")
# Those otions are set in main_ci.cmake
set (otb_data_option
"OTB_DATA_USE_LARGEINPUT:BOOL=${OTB_DATA_USE_LARGEINPUT}
OTB_DATA_LARGEINPUT_ROOT:PATH=${OTB_DATA_LARGEINPUT_ROOT}")
set (cmake_configure_option
"CMAKE_BUILD_TYPE=${CTEST_BUILD_CONFIGURATION}
CMAKE_INSTALL_PREFIX:PATH=${CTEST_INSTALL_DIRECTORY}")
......
......@@ -76,23 +76,6 @@ set (PROJECT_SOURCE_DIR "${OTB_SOURCE_DIR}")
# Ctest command value
set (CMAKE_COMMAND "cmake")
# Large Input Data directory setting
if ( OTB_DATA_USE_LARGEINPUT )
find_path( OTB_DATA_LARGEINPUT_ROOT
NAMES OTBData.readme
HINTS ${CTEST_SOURCE_DIRECTORY}/../../OTB-LargeInput
)
# For the CI the directory should be in
# ${CTEST_SOURCE_DIRECTORY}/../../OTB-LargeInput
if( NOT OTB_DATA_LARGEINPUT_ROOT )
message( WARNING "Option -DOTB_DATA_USE_LARGEINPUT=ON is used but we \
could not found the OTBData.readme file. Make sure you set the \
OTB_DATA_LARGEINPUT_ROOT variable correctly.
OTB_DATA_USE_LARGEINPUT will be set to OFF.")
set( OTB_DATA_USE_LARGEINPUT "OFF")
endif()
endif()
message(STATUS "CI profile : ${ci_profile}")
#The following file set the CONFIGURE_OPTIONS variable
......
......@@ -24,4 +24,6 @@ set(site_option
"OTB_USE_GLUT=OFF
OTB_USE_GLFW=OFF
CMAKE_C_COMPILER_LAUNCHER:STRING=ccache
CMAKE_CXX_COMPILER_LAUNCHER:STRING=ccache")
CMAKE_CXX_COMPILER_LAUNCHER:STRING=ccache
OTB_DATA_USE_LARGEINPUT:BOOL=ON")
# Large input path are in an environment variable on macOS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment