Build shared libraries only
@@ -28,8 +28,8 @@ build:
{% endif %}
script:
- mkdir build && cd build
- - ../configure --prefix={{ PREFIX }} CC=$CC FC=$FC CFLAGS="$CFLAGS -O3 -ffast-math -funroll-loops" FCFLAGS="$FCFLAGS -O3 -ffast-math -funroll-loops" --with-fftw3={{ PREFIX }} # [mpi == 'nompi']
- - ../configure --prefix={{ PREFIX }} CC=mpicc FC=mpifort CFLAGS="$CFLAGS -O3 -ffast-math -funroll-loops" FCFLAGS="$CFLAGS -O3 -ffast-math -funroll-loops" --with-fftw3={{ PREFIX }} --with-mpi={{ PREFIX }} # [mpi != 'nompi']
+ - ../configure --prefix={{ PREFIX }} --disable-static CC=$CC FC=$FC CFLAGS="$CFLAGS -O3 -ffast-math -funroll-loops" FCFLAGS="$FCFLAGS -O3 -ffast-math -funroll-loops" --with-fftw3={{ PREFIX }} # [mpi == 'nompi']
+ - ../configure --prefix={{ PREFIX }} --disable-static CC=mpicc FC=mpifort CFLAGS="$CFLAGS -O3 -ffast-math -funroll-loops" FCFLAGS="$CFLAGS -O3 -ffast-math -funroll-loops" --with-fftw3={{ PREFIX }} --with-mpi={{ PREFIX }} # [mpi != 'nompi']
- make -j$CPU_COUNT
- make check
- make install
@@ -52,8 +52,6 @@ test:
requires:
- python >= 3
commands:
- - test -f ${PREFIX}/lib/libvdwxc.a || exit 1 # [unix]
- - test -f ${PREFIX}/lib/libvdwxcfort.a || exit 1 # [unix]
- test -f ${PREFIX}/include/vdwxc.h || exit 1 # [unix]
- test -f ${PREFIX}/include/vdwxcfort.f90 || exit 1 # [unix]
- test -f ${PREFIX}/include/vdwxc_mpi.h || exit 1 # [unix and (mpi != 'nompi')]
