Skip to content
Open
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
4 changes: 4 additions & 0 deletions roles/base-image/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@
echo 'export HOMEBREW_NO_AUTO_UPDATE=1' >> ~/.obuilder_profile.sh
echo 'export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin' >> ~/.obuilder_profile.sh
echo 'export PATH=/opt/homebrew/bin:/opt/homebrew/sbin:$PATH' >> ~/.obuilder_profile.sh # /opt is used for homebrew on macOS/arm64
# For arm64 architectures Homebrew no longer links into /usr/local by default.
# We add the include files and libraries paths to fix breakages for many packages in the ci that expect these files in /usr/local.
echo 'export C_INCLUDE_PATH=$homebrew/include:$C_INCLUDE_PATH' >> ~/.obuilder_profile.sh
echo 'export LIBRARY_PATH=$homebrew/lib:$LIBRARY_PATH' >> ~/.obuilder_profile.sh
echo 'export OPAMYES=1' >> ./.obuilder_profile.sh
echo 'export OPAMCONFIRMLEVEL=unsafe-yes' >> ./.obuilder_profile.sh
echo 'export OPAMERRLOGLEN=0' >> ./.obuilder_profile.sh
Expand Down