{math} [intel/2018b] gap/4.9.3#7040
Conversation
|
Test report by @wpoely86 |
|
|
||
| # This tries to install all of the GAP packages. If one fails because | ||
| # of missing dependencies, it's skipped automatically | ||
| preinstallopts = 'cd pkg && ../bin/BuildPackages.sh && cd .. #' |
There was a problem hiding this comment.
@wpoely86 Please use skipsteps = ['install'] to skip the installation steps, and do the above via buildopts?
There was a problem hiding this comment.
this should be run after the build_step is done
There was a problem hiding this comment.
Well, yes, you can do that via
buildopts = " && cd pkg && ../bin/BuildPackages.sh"(the cd .. at the end is pointless)
It's the trailing # that I don't like here, this falls in the "hacking" category for me. ;-)
| postinstallcmds = ["cd bin && ln -s gap.sh gap && cd -"] | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['bin/gap.sh', 'gap', 'gac'], |
There was a problem hiding this comment.
no, the real file is gap.sh. With the postinstallcmds I add a symlink gap -> gap.sh
There was a problem hiding this comment.
If you check for bin/gap, you make sure the symlink is effectively there, and that it points to an existing file. So why not check both?
| # of missing dependencies, it's skipped automatically | ||
| preinstallopts = 'cd pkg && ../bin/BuildPackages.sh && cd .. #' | ||
|
|
||
| postinstallcmds = ["cd bin && ln -s gap.sh gap && cd -"] |
There was a problem hiding this comment.
You can drop the cd -, since this command is run in a subshell
|
|
||
| sanity_check_paths = { | ||
| 'files': ['bin/gap.sh', 'gap', 'gac'], | ||
| 'dirs': ['pkg'] |
There was a problem hiding this comment.
No more specific checks for particular packages?
There was a problem hiding this comment.
it's a very long list and I don't know if any are more important then others.
And this comes directly from the tarball. It's not because it's there that it will work
| toolchain = {'name': 'intel', 'version': '2018b'} | ||
|
|
||
| source_urls = ['http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/'] | ||
| sources = ['%%(name)s-0%s.tar.gz' % version.replace('.', '')] |
There was a problem hiding this comment.
Please use %(name)s-0%(version_major)s%(version_minor)s.tar.gz
| - g++ -Wall -Wno-write-strings -Wno-sign-compare -Wno-unused-variable -I${BOOSTINC} -L${BOOSTLIB} -Wl,-rpath=${BOOSTLIB} -O3 -DPLRS -o plrsmp plrs.cpp lrslib.c lrsmp.c -lboost_thread -lboost_system | ||
| + $(CXX) $(CXXFLAGS) -DGMP -Wall -Wno-write-strings -Wno-sign-compare -I${BOOSTINC} -O3 -DPLRS -DGMP -o plrs plrs.cpp lrslib.c lrsgmp.c -L${BOOSTLIB} -lboost_thread -lboost_system -lgmp | ||
| + $(CXX) $(CXXFLAGS) -Wall -Wno-write-strings -Wno-sign-compare -Wno-unused-variable -I${BOOSTINC} -L${BOOSTLIB} -O3 -DPLRS -DLRSLONG -o plrs1 plrs.cpp lrslib.c lrslong.c -lboost_thread -lboost_system | ||
| + $(CXX) $(CXXFLAGS) -Wall -Wno-write-strings -Wno-sign-compare -Wno-unused-variable -I${BOOSTINC} -L${BOOSTLIB} -O3 -DPLRS -o plrsmp plrs.cpp lrslib.c lrsmp.c -lboost_thread -lboost_system |
|
|
||
| fourier: fourier.c lrslib.h lrslib.c lrsgmp.h lrsgmp.c | ||
| - $(CC) $(CFLAGS) -O3 -DTIMES -DSIGNALS -DGMP -I${INCLUDEDIR} fourier.c lrslib.c lrsgmp.c -L${LIBDIR} -lgmp -o fourier | ||
| + $(CC) $(CFLAGS) -O3 -DTIMES -DSIGNALS -DGMP -I${INCLUDEDIR} fourier.c lrslib.c lrsgmp.c -L${LIBDIR} $(LDFLAGS) -lgmp -o fourier |
| dependencies = [('GMP', '6.1.2')] | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['bin/normaliz', 'bin/Qnormaliz', 'lib/libnormaliz.so', 'lib/libQnormaliz.so'], |
There was a problem hiding this comment.
@wpoely86 Please use SHLIB_EXT rather than hardcoding .so
sanity_check_paths = {
'files': ['bin/normaliz', 'bin/Qnormaliz', 'lib/libnormaliz.%s' % SHLIB_EXT, 'lib/libQnormaliz.%s' % SHLIB_EXT],
'dirs': ['include/libnormaliz']
}|
Test report by @wpoely86 |
|
Test report by @wpoely86 |
|
Test report by @wpoely86 |
|
Test report by @wpoely86 |
|
@wpoely86 You should skip the |
|
Test report by @wpoely86 |
|
Test report by @wpoely86 |
|
Test report by @boegel |
|
Test report by @boegel |
|
Test report by @boegel |
|
@wpoely86 Missing dependency on |
|
Test report by @wpoely86 |
|
@boegel can you retry? |
|
Test report by @boegel |
|
Test report by @boegel |
|
Test report by @boegel |
|
Going in, thanks @wpoely86! |
No description provided.