Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mujoco Py
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Hollenstein
Mujoco Py
Commits
d73ce6e9
Unverified
Commit
d73ce6e9
authored
5 years ago
by
Matthias Plappert
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add GCC9 and prefer newer over older versions (#485)
* Add GCC9 and prefer newer over older versions * Bump version
parent
98afc3ec
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
mujoco_py/builder.py
+11
-7
11 additions, 7 deletions
mujoco_py/builder.py
mujoco_py/version.py
+1
-1
1 addition, 1 deletion
mujoco_py/version.py
with
12 additions
and
8 deletions
mujoco_py/builder.py
+
11
−
7
View file @
d73ce6e9
...
...
@@ -308,13 +308,17 @@ class MacExtensionBuilder(MujocoExtensionBuilder):
def
_build_impl
(
self
):
if
not
os
.
environ
.
get
(
'
CC
'
):
# Known-working versions of GCC on mac
c_compilers
=
[
'
/usr/local/bin/gcc-6
'
,
'
/usr/local/bin/gcc-
7
'
,
# Known-working versions of GCC on mac
(prefer latest one)
c_compilers
=
[
'
/usr/local/bin/gcc-
9
'
,
'
/usr/local/bin/gcc-8
'
,
'
/opt/local/bin/gcc-mp-6
'
,
'
/usr/local/bin/gcc-7
'
,
'
/usr/local/bin/gcc-6
'
,
'
/opt/local/bin/gcc-mp-9
'
,
'
/opt/local/bin/gcc-mp-8
'
,
'
/opt/local/bin/gcc-mp-7
'
,
'
/opt/local/bin/gcc-mp-8
'
]
'
/opt/local/bin/gcc-mp-6
'
,
]
available_c_compiler
=
None
for
c_compiler
in
c_compilers
:
if
distutils
.
spawn
.
find_executable
(
c_compiler
)
is
not
None
:
...
...
This diff is collapsed.
Click to expand it.
mujoco_py/version.py
+
1
−
1
View file @
d73ce6e9
__all__
=
[
'
__version__
'
,
'
get_version
'
]
version_info
=
(
2
,
0
,
2
,
8
)
version_info
=
(
2
,
0
,
2
,
9
)
# format:
# ('mujoco_major', 'mujoco_minor', 'mujoco_py_major', 'mujoco_py_minor')
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment