Hi,
With the attached EC I have managed to build a piece of software
called FORCE successfully, but no
prepend_path("PATH",...)
is produced in the module file. I assume it is something to do with the
fact that no 'bin' directory is created by the build step. All the
compiled files just land in the top-level build directory and are
installed to the $EBROOTFORCE directory
What do I need to do to make the module file set PATH appropriately?
Cheers,
Loris
easyblock = 'ConfigureMake'
name = 'FORCE'
version = '3.7.7'
homepage = 'https://github.com/davidfrantz/force'
description = """FORCE is an all-in-one processing engine for medium-resolution Earth Observation image archives."""
toolchain = {'name': 'foss', 'version': '2021b'}
#toolchainopts = {'usempi': True}
# https://github.com/davidfrantz/force/archive/refs/tags/v3.7.7.tar.gz
source_urls = ['https://github.com/davidfrantz/force/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
skipsteps = ['configure']
builddependencies = [('make', '4.3')]
buildopts=' GDAL="-I$EBROOTGDAL/include/gdal -L$EBROOTGDAL/lib -Wl,-rpath=$EBROOTGDAL/lib" \
GSL="-I$EBROOTGSL/include/gsl -Wl,-rpath=/usr/lib64 -DHAVE_INLINE=1 -DGSL_RANGE_CHECK=0" \
CURL="-I$EBROOTCURL/include/curl -L$EBROOTCURL/lib -Wl,-rpath=$EBROOTCURL/lib -I$EBROOTCURL/include/curl -L$EBROOTCURL/lib -Wl,-rpath=$EBROOTLIB/lib/" \
OPENCV="-I$EBROOTOPENCV/include/opencv4 -L$EBROOTOPENCV/lib64 -Wl,-rpath=$EBROOTOPENCV/lib64"'
dependencies = [('GDAL', '3.3.2'),
('GSL', '2.7'),
('R', '4.1.2'),
('OpenCV', '4.5.5', '-contrib')]
installopts=' BINDIR="%(installdir)s"'
sanity_check_paths = {
'files': ['force'],
'dirs': ['force-misc'],
}
moduleclass = 'geo'
--
Dr. Loris Bennett (Herr/Mr)
ZEDAT, Freie Universität Berlin Email [email protected]