forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request easybuilders#21957 from PetrKralCZ/20241203121206_…
…new_pr_Fiji2140 {vis}[system/system] Fiji v2.14.0 w/ Java 11
- Loading branch information
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
easyblock = 'PackedBinary' | ||
|
||
name = 'Fiji' | ||
version = '2.14.0' | ||
versionsuffix = '-Java-%(javaver)s' | ||
|
||
homepage = 'https://fiji.sc/' | ||
description = """Fiji is an image processing package—a 'batteries-included' distribution of | ||
ImageJ, bundling a lot of plugins which facilitate scientific image analysis. | ||
This release is based on ImageJ-2.1.0 and Fiji-2.1.1""" | ||
|
||
toolchain = SYSTEM | ||
|
||
source_urls = ['https://downloads.imagej.net/fiji/releases/%(version)s'] | ||
sources = ['%(namelower)s-%(version)s-nojre.zip'] | ||
checksums = ['1dcf6efd7a2c99b70ab921bea3b9e7c74ef99acf35b9857199de7f9c424187db'] | ||
|
||
dependencies = [('Java', '11', '', SYSTEM)] | ||
|
||
postinstallcmds = [ | ||
# Remove binaries for other platforms | ||
'rm %(installdir)s/{ImageJ-win32.exe,ImageJ-win64.exe}', | ||
# Enable any update site (edit existing site with same parameters to enable it) | ||
# Full list at https://imagej.github.io/list-of-update-sites/ | ||
'%(installdir)s/ImageJ-linux64 --default-gc --java-home "$EBROOTJAVA/lib/server/" --headless' | ||
' --update edit-update-site "ImageScience" https://sites.imagej.net/ImageScience/', | ||
'%(installdir)s/ImageJ-linux64 --default-gc --java-home "$EBROOTJAVA/lib/server/" --headless' | ||
' --update edit-update-site "3D ImageJ Suite" https://sites.imagej.net/Tboudier/', | ||
'%(installdir)s/ImageJ-linux64 --default-gc --java-home "$EBROOTJAVA/lib/server/" --headless' | ||
' --update edit-update-site "ilastik" https://sites.imagej.net/Ilastik/', | ||
# Add a new update site | ||
# '%(installdir)s/ImageJ-linux64 --headless --update add-update-site "New Name"' | ||
# ' https://site.url/NewName/', | ||
# Update the installation | ||
'%(installdir)s/ImageJ-linux64 --default-gc --java-home "$EBROOTJAVA/lib/server/" --headless --update update', | ||
] | ||
|
||
sanity_check_paths = { | ||
'files': ['ImageJ-linux64'], | ||
'dirs': [], | ||
} | ||
|
||
modloadmsg = """ | ||
Additional plugins can be installed in your $HOME/.plugins folder or requested to user support | ||
Use ImageJ/Fiji in headless mode in your scripts with the command `ImageJ-linux64 --headless` | ||
More information at https://imagej.net/Headless | ||
Also for Fiji 2.14.0 the arguments `--default-gc --java-home "$EBROOTJAVA/lib/server/"` | ||
should always be used when running `ImageJ-linux64` commands to avoid errors like: | ||
`Could not load Java library` and `Unrecognized option: -Xincgc`. | ||
""" | ||
|
||
moduleclass = 'vis' |