Skip to content
Merged
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
5 changes: 5 additions & 0 deletions .scripts/build_unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ export PYTHONUNBUFFERED=1
export FEEDSTOCK_ROOT=`pwd`
export "CONDA_BLD_PATH=$HOME/conda-bld/"

# git's background auto-maintenance can hold (and then delete) a lock file in a
# cached source clone while rattler-build copies it, failing the build with
# "FileSystem error: ... .git/objects/maintenance.lock does not exist".
git config --global maintenance.auto false

if [[ "$target" == *"osx"* ]]; then
echo "osx"
export PATH=$(echo $PATH | tr ":" "\n" | grep -v 'homebrew' | xargs | tr ' ' ':')
Expand Down
4 changes: 4 additions & 0 deletions .scripts/build_win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ set "FEEDSTOCK_ROOT=%cd%"

mkdir %CONDA_BLD_PATH%

:: git's background auto-maintenance can hold (and then delete) a lock file in a
:: cached source clone while rattler-build copies it, failing the build.
git config --global maintenance.auto false

:: Enable long path names on Windows
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f

Expand Down
Loading