Skip to content
Draft
Show file tree
Hide file tree
Changes from 3 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
8 changes: 7 additions & 1 deletion .github/container/Dockerfile.mjx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ ARG BASE_IMAGE=ghcr.io/nvidia/jax:mealkit
ARG SRC_PATH_MUJOCO=/opt/mujoco
ARG SRC_PATH_MUJOCO_MPC=/opt/mujoco-mpc
ARG SRC_PATH_L2R=/opt/language-to-reward-2023

ARG CC=/usr/bin/clang
ARG CXX=/usr/bin/clang++

###############################################################################
## Download source and add auxiliary scripts
Expand All @@ -14,6 +15,11 @@ FROM ${BASE_IMAGE} as mealkit
ARG SRC_PATH_MUJOCO
ARG SRC_PATH_MUJOCO_MPC
ARG SRC_PATH_L2R
ARG CC
ARG CXX

ENV CC=${CC}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of enforcing the compiler toolchain globally, can we set it only for the MPC installation step?

ENV CXX=${CXX}

# Install system dependencies for Mujuco/MPC
RUN <<"EOF" bash -ex
Expand Down
2 changes: 1 addition & 1 deletion .github/container/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ mujoco:
mujoco-mpc:
url: https://github.com/google-deepmind/mujoco_mpc.git
tracking_ref: main
latest_verified_commit: 73633d7da1900c428a7315d2ffe1120c5393a7d8
latest_verified_commit: c5c7ead065b7f4034ab265a13023231900dbfaa7
mode: git-clone
language-to-reward-2023:
url: https://github.com/google-deepmind/language_to_reward_2023.git
Expand Down