{lib,tools}[GCCcore/10.2.0,foss/2020b] Highway v0.12.2, LibLZF v3.4, libavif v0.9.0, libjxl v0.6.1, Zopfli v1.0.3, zpf v0.5.5, zlib-ng v2.0.5 (dependencies for imagecodecs)#14246
Conversation
…ss-2020b.eb, zlib-ng-2.0.5-foss-2020b.eb, liblzma-5.2.5-foss-2020b.eb, liblzf-3.4-GCCcore-10.2.0.eb, libjxl-0.5-GCCcore-10.2.0.eb, libavif-0.9.0-foss-2020b.eb
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
deleting - old version
|
Tips: |
accidentally added
accidentally added
accidentally added
accidentally added
accidentally added
accidentally added
deleting old version
deleting old version
deleting old version
| ] | ||
| patches = [ | ||
| 'libjxl-0.6.1_external_lcms2.patch', | ||
| 'libjxl-%(version)s_remove-broken-test.patch', |
There was a problem hiding this comment.
I think this version should have fixed that broken test (not 100% sure)
There was a problem hiding this comment.
I can confirm, the fix is merged in the main branch, but not included yet with libjxl 0.6.1...
| @@ -0,0 +1,33 @@ | |||
| # This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild | |||
| # Author: Denis Kristak | |||
| easyblock = 'MakeCp' | |||
There was a problem hiding this comment.
How come it's not a CMakeMake block instead?
There was a problem hiding this comment.
This was just closed without any comment or change?
There was a problem hiding this comment.
It seems like zfp supports building with just make, or via cmake (because, you know, why not...).
Although I'm not a big fan of CMake, it's probably better to go that way instead, since it gives us more control over compiler options, etc, and it hopefully also avoids the need for "manually" installing stuff via files_to_copy, and we can just use make install instead.
I'll take a quick look at the myself, so we can get this merged and proceed with #14247 ...
There was a problem hiding this comment.
And it actually supports the configopts, which.. I suspect does absolutely nothing in MakeCp?
There was a problem hiding this comment.
Indeed, configopts doesn't make sense with MakeCp.
I just spent an hour trying to get zfp built with CMake, and it's living up to its reputation, again...
Problems I ran into before I gave up:
- The build was failing while linking the
zfpbinary due to an undefined reference tolog10, basically because-lmwasn't being used. There's some logic inCMakeLists.txtto check whether-lmis required or not, but it only checks for compilation, not linking. Even after replacingcheck_c_source_compileswithcheck_c_source_runs, it still concludes that-lmisn't needed at all, and then fails to linkzfpbecause-lmisn't used.
I was able to dance around that by force-feeding CMake-lmvia-DCMAKE_EXE_LINKER_FLAGS='-lm'. - After fixing the
zfplinking issue, the sanity check was failing becausebin/zfpwasn't being installed viamake install, and it was buildinglibzfp.soby default (while using theMakefileit buildslibzfp.aby default).
I couldn't figure out why CMake in all its wisdom as building thezfputility to then not install it at all, so I gave up.
Conclusion: if you get the option to either just run make or build through cmake, go with the former.
removing unnecessary file
removing trash Co-authored-by: Mikael Öhman <[email protected]>
flags for zopfli Co-authored-by: Mikael Öhman <[email protected]>
better sanity check for zopfli Co-authored-by: Mikael Öhman <[email protected]>
| @@ -0,0 +1,33 @@ | |||
| # This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild | |||
| # Author: Denis Kristak | |||
| easyblock = 'MakeCp' | |||
There was a problem hiding this comment.
This was just closed without any comment or change?
|
@boegelbot please test @ generoso |
|
@boegel: Request for testing this PR well received on login1 PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 964083734 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegel |
|
Test report by @boegelbot |
|
Test report by @boegel |
|
Going in, thanks @deniskristak! |
adding easyconfigs: Highway-0.12.2-GCCcore-10.2.0.eb, zopfli-1.0.3-fo…ss-2020b.eb, zlib-ng-2.0.5-foss-2020b.eb, liblzma-5.2.5-foss-2020b.eb, liblzf-3.4-GCCcore-10.2.0.eb, libjxl-0.5-GCCcore-10.2.0.eb, libavif-0.9.0-foss-2020b.eb