-
Notifications
You must be signed in to change notification settings - Fork 706
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 #21956 from VRehnberg/20241203101244_new_pr_dm-con…
…trol1018 {ai}[foss/2023a] dm-control v1.0.18
- Loading branch information
Showing
2 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
53 changes: 53 additions & 0 deletions
53
easybuild/easyconfigs/d/dm-control/dm-control-1.0.18-foss-2023a.eb
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,53 @@ | ||
easyblock = 'PythonBundle' | ||
|
||
name = 'dm-control' | ||
version = '1.0.18' | ||
|
||
homepage = 'https://github.com/deepmind/tree' | ||
description = """ | ||
DeepMind's software stack for physics-based simulation and Reinforcement Learning environments, using MuJoCo physics. | ||
""" | ||
|
||
toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
||
builddependencies = [ | ||
('Bazel', '6.3.1'), # labmaze | ||
] | ||
|
||
dependencies = [ | ||
('Python', '3.11.3'), | ||
('SciPy-bundle', '2023.07'), | ||
('lxml', '4.9.2'), | ||
('dm-tree', '0.1.8'), | ||
('python-mujoco', '3.1.4'), | ||
('PyOpenGL', '3.1.7'), | ||
('h5py', '3.9.0'), # extras [h5py] | ||
('protobuf-python', '4.24.0'), | ||
('tqdm', '4.66.1'), | ||
] | ||
|
||
use_pip = True | ||
|
||
exts_list = [ | ||
('dm-env', '1.6', { | ||
'checksums': ['a436eb1c654c39e0c986a516cee218bea7140b510fceff63f97eb4fcff3d93de'], | ||
}), | ||
('labmaze', '1.0.6', { | ||
'patches': ['labmaze-1.0.6_use-bazel-v6.patch'], | ||
'checksums': [ | ||
{'labmaze-1.0.6.tar.gz': '2e8de7094042a77d6972f1965cf5c9e8f971f1b34d225752f343190a825ebe73'}, | ||
{'labmaze-1.0.6_use-bazel-v6.patch': '7aea4376952f493d2c2da101ff408577b1f91ae7a957083659497b6926ee226e'}, | ||
], | ||
}), | ||
(name, version, { | ||
'sources': ['dm_control-%(version)s.tar.gz'], | ||
'use_pip_extras': 'h5py', | ||
'checksums': ['9dc825a7719e0386364417746dd85e5fe0a235f2597a0b13323407b273a3633e'], | ||
}), | ||
] | ||
|
||
sanity_pip_check = True | ||
|
||
options = {'modulename': 'tree'} | ||
|
||
moduleclass = 'ai' |
35 changes: 35 additions & 0 deletions
35
easybuild/easyconfigs/d/dm-control/labmaze-1.0.6_use-bazel-v6.patch
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,35 @@ | ||
From 0db42e859462a3b04c14a0155253b0ca4b9b64c9 Mon Sep 17 00:00:00 2001 | ||
From: Viktor Rehnberg <[email protected]> | ||
Date: Tue, 3 Dec 2024 09:54:22 +0000 | ||
Subject: [PATCH] Migrate to Bazel v6 | ||
|
||
--- | ||
bazel/BUILD | 6 +++--- | ||
1 file changed, 3 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/bazel/BUILD b/bazel/BUILD | ||
index 05458d5..7075c8f 100644 | ||
--- a/bazel/BUILD | ||
+++ b/bazel/BUILD | ||
@@ -24,15 +24,15 @@ licenses(["notice"]) | ||
|
||
config_setting( | ||
name = "linux", | ||
- constraint_values = ["@bazel_tools//platforms:linux"], | ||
+ constraint_values = ["@platforms//os:linux"], | ||
) | ||
|
||
config_setting( | ||
name = "apple", | ||
- constraint_values = ["@bazel_tools//platforms:osx"], | ||
+ constraint_values = ["@platforms//os:osx"], | ||
) | ||
|
||
config_setting( | ||
name = "windows", | ||
- constraint_values = ["@bazel_tools//platforms:windows"], | ||
+ constraint_values = ["@platforms//os:windows"], | ||
) | ||
-- | ||
2.39.3 | ||
|