Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions Rust-1.65.0-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name = 'Rust'
version = '1.65.0'

homepage = 'https://www.rust-lang.org'
description = """Rust is a systems programming language that runs blazingly fast, prevents segfaults,
and guarantees thread safety."""

toolchain = {'name': 'GCCcore', 'version': '12.2.0'}

source_urls = ['https://static.rust-lang.org/dist/']
sources = ['rustc-%(version)s-src.tar.gz', 'rustc-1.70.0-src.tar.gz']
patches = ['Rust-1.60_sysroot-fix-interpreter.patch']
checksums = [
{'rustc-1.65.0-src.tar.gz': '5828bb67f677eabf8c384020582b0ce7af884e1c84389484f7f8d00dd82c0038'},
{'rustc-1.70.0-src.tar.gz': 'b2bfae000b7a5040e4ec4bbc50a09f21548190cb7570b0ed77358368413bd27c'},
{'Rust-1.60_sysroot-fix-interpreter.patch': 'b59ed4c2591fc9098277299be21dd6752654f6f193d8652b7d21cb0fa0dd8716'},
]

builddependencies = [
('binutils', '2.39'),
('CMake', '3.24.3'),
('Python', '3.10.8', '-bare'),
('pkgconf', '1.9.3'),
]

dependencies = [
('OpenSSL', '1.1', '', SYSTEM),
]

preconfigopts = 'mv %(start_dir)s/src/llvm-project %(start_dir)s/src/llvm-project.bak && '
preconfigopts += 'ln -s %(builddir)s/rustc-1.70.0-src/src/llvm-project %(start_dir)s/src/llvm-project && '
preconfigopts += 'mv %(start_dir)s/compiler/rustc_llvm %(start_dir)s/compiler/rustc_llvm.bak && '
preconfigopts += 'ln -s %(builddir)s/rustc-1.70.0-src/compiler/rustc_llvm %(start_dir)s/compiler/rustc_llvm && '
preconfigopts += 'mv %(start_dir)s/compiler/rustc_smir %(start_dir)s/compiler/rustc_smir.bak && '
preconfigopts += 'ln -s %(builddir)s/rustc-1.70.0-src/compiler/rustc_smir %(start_dir)s/compiler/rustc_smir && '

moduleclass = 'lang'
29 changes: 29 additions & 0 deletions Rust-1.70.0-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name = 'Rust'
version = '1.70.0'

homepage = 'https://www.rust-lang.org'
description = """Rust is a systems programming language that runs blazingly fast, prevents segfaults,
and guarantees thread safety."""

toolchain = {'name': 'GCCcore', 'version': '12.2.0'}

source_urls = ['https://static.rust-lang.org/dist/']
sources = ['rustc-%(version)s-src.tar.gz']
patches = ['Rust-1.70_sysroot-fix-interpreter.patch']
checksums = [
{'rustc-1.70.0-src.tar.gz': 'b2bfae000b7a5040e4ec4bbc50a09f21548190cb7570b0ed77358368413bd27c'},
{'Rust-1.70_sysroot-fix-interpreter.patch': '220129db55e022a98d25028da5dcc9f26b252dd995c3ac92f6312dbb1e362cb1'},
]

builddependencies = [
('binutils', '2.39'),
('CMake', '3.24.3'),
('Python', '3.10.8', '-bare'),
('pkgconf', '1.9.3'),
]

dependencies = [
('OpenSSL', '1.1', '', SYSTEM),
]

moduleclass = 'lang'
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,12 @@ easyconfigs:
# - HarfBuzz-5.3.1-GCCcore-12.2.0.eb
## - Qt5-5.15.7-GCCcore-12.2.0.eb
## - QuantumESPRESSO-7.2-foss-2022b.eb
# - Rust-1.70.0-GCCcore-12.2.0.eb:
# options:
# try-software-version: 1.69.0
- Rust-1.65.0-GCCcore-12.2.0.eb
# options:
# try-software-version: 1.68.0
# - Rust-1.65.0-GCCcore-12.2.0.eb:
# options:
# try-software-version: 1.67.0