On 18-04-2015 13:33, Fernando de Oliveira wrote:
> {{{
> * To enable testing (and automatic result upload to
> * http://my.cdash.org/index.php?project=OPENJPEG):
> cmake . -DBUILD_TESTING:BOOL=ON \
> -DOPJ_DATA_ROOT:PATH='path/to/the/data/directory'
> make
> make Experimental
> Note : JPEG2000 test files are available with 'svn checkout
> http://openjpeg.googlecode.com/svn/data' (about 70 Mo).
> If '-DOPJ_DATA_ROOT:PATH' option is omitted, test files will be
> automatically searched in '${CMAKE_SOURCE_DIR}/../data', corresponding
> to the location of the data directory when compiling from the trunk
> (and assuming the data directory has been checked out of course).
> }}}
>
> The 70 Mo is an exagerated understatement. Worse yet, their svn
> connection is extremely slow I downloaded 1018MB in (real) 116m52.370s!!!!
>
> Finally, could run again the tests (didn't time or log it).
>
> {{{
> mkdir -v build &&
> cd build &&
>
> cmake -DCMAKE_BUILD_TYPE=Release \
> -DBUILD_TESTING=ON \
> -DOPJ_DATA_ROOT=../data \
> -DCMAKE_INSTALL_PREFIX=/usr ..
>
> time make -j8
>
> make -j1 test
> }}}
In case someone follows all instructions above, used
-DOPJ_DATA_ROOT=../data
to change the default test files search PATH
'${CMAKE_SOURCE_DIR}/../data'
to
'${CMAKE_SOURCE_DIR}/data'.
--
[]s,
Fernando de Oliveira
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page