diff --git a/easybuild/easyconfigs/j/juliaup/juliaup-1.14.5-GCCcore-12.3.0.eb b/easybuild/easyconfigs/j/juliaup/juliaup-1.14.5-GCCcore-12.3.0.eb new file mode 100644 index 00000000000..b65f475cc0a --- /dev/null +++ b/easybuild/easyconfigs/j/juliaup/juliaup-1.14.5-GCCcore-12.3.0.eb @@ -0,0 +1,34 @@ +# Paul Melis, SURF (paul.melis@surf.nl) +easyblock = 'Binary' + +name = 'juliaup' +version = '1.14.5' + +homepage = 'https://github.com/JuliaLang/juliaup' +description = """A cross-platform installer for the Julia programming language.""" + +toolchain = {'name': 'GCCcore', 'version': '12.3.0'} + +source_urls = ['https://github.com/JuliaLang/juliaup/archive/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['62c6f555a3a210ec7b612cc89f7d7117511c6307e2a1890b7fbb8c474f820a6b'] + +builddependencies = [ + ('binutils', '2.40'), + ('Rust', '1.75.0'), +] + +extract_sources = True + +install_cmd = "cargo build --release && cargo install --root %(installdir)s --path ." + +sanity_check_paths = { + # Contains a shim for bin/julia, which will download the necessary julia binary on demand + # and make sure the 'julia' command actually points to the active version + 'files': ['bin/juliaup', 'bin/julia'], + 'dirs': [], +} + +sanity_check_commands = ["juliaup --help"] + +moduleclass = 'lang'