-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
January 2025 rebuild using rattler-build (#501)
* Initial commit to move to rattler * Further fixes * Complete local osx-arm64 rebuild * Near complete linux-aarch64 local rebuild * Fix teb-local-planner * Fix remaining build issues on linux-aarch64 * Do not use env -i * Obsolete patch * Fixes * Windows workaround for rattler-build * Create ros-noetic-topic-tools.patch * Build additional recipes in PR * Update ros-noetic-topic-tools.patch * Pull in vs2019 for OpenCV compat * Also set c_compiler * Create ros-noetic-xmlrpcpp.patch * Update ros-noetic-xmlrpcpp.patch * Update ros-noetic-xmlrpcpp.patch * Update ros-noetic-xmlrpcpp.patch * Update ros-noetic-xmlrpcpp.patch * Fixes * Update ros-noetic-cv-bridge.patch * Fix * Unvendor gtsam * Add gtsam in PRs * Try fix rviz issues * fix * Fix rtabmap-conversions patch * Add verbose options for python-qt-binding * Debug messages * Fixes * need sip 6.8 * Fixes * Fix * Fixes * Test * Try fix sip issues * Try fix sip issues * Fix * Fixes * Fix * Fixes * Fix workflow * Fix workflow * Fixes linux * Fixup ninja: error: '%PREFIX%/Library/lib/lz4.lib', needed by 'devel/bin/pcl_ros_tf.dll', missing and no known rule to make it * Full successful local build on linux-64 * Undo non-working lz4 patch * Loccal linux-64 rebuild of all packages except jsk stuff * Full local linux-64 rebuild * Full local linux-64 rebuild * time::min not available on Win because of our patch * Updates for Windows compatibility * Fix plotjuggler line endings / tabs or whatever it is ;) --------- Co-authored-by: Silvio Traversaro <[email protected]>
- Loading branch information
1 parent
142310f
commit 33d3128
Showing
72 changed files
with
6,045 additions
and
1,044 deletions.
There are no files selected for viewing
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,2 @@ | ||
# GitHub syntax highlighting | ||
pixi.lock linguist-language=YAML linguist-generated=true |
This file was deleted.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ recipes/ | |
*.ps1 | ||
*.json | ||
.DS_Store | ||
# pixi environments | ||
.pixi | ||
*.egg-info | ||
output/ |
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
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 |
---|---|---|
@@ -1,35 +1,25 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
export FEEDSTOCK_ROOT=`pwd` | ||
export "CONDA_BLD_PATH=$HOME/conda-bld/" | ||
|
||
"${SHELL}" <(curl -L micro.mamba.pm/install.sh) | ||
source ~/.bash_profile | ||
|
||
micromamba config set remote_max_retries 5 | ||
curl -fsSL https://pixi.sh/install.sh | bash | ||
export PATH="$HOME/.pixi/bin:$PATH" | ||
|
||
echo -e "\n\nInstalling conda-forge-ci-setup=3 and conda-build." | ||
micromamba create -n devenv --quiet --yes conda-forge-ci-setup=3 conda-build pip boa quetz-client -c conda-forge | ||
micromamba activate devenv | ||
|
||
set -e | ||
|
||
export "CONDA_BLD_PATH=$CONDA_PREFIX/conda-bld/" | ||
|
||
mkdir -p $CONDA_BLD_PATH | ||
# micromamba index $CONDA_BLD_PATH | ||
micromamba config append channels conda-forge --env | ||
micromamba config append channels robostack-staging --env | ||
micromamba config append channels $CONDA_BLD_PATH --env | ||
# Remove homebrew from $PATH | ||
export PATH=$(echo $PATH | tr ":" "\n" | grep -v 'homebrew' | xargs | tr ' ' ':') | ||
|
||
for recipe in ${CURRENT_RECIPES[@]}; do | ||
cd ${FEEDSTOCK_ROOT}/recipes/${recipe} | ||
if [[ ${recipe} == *"rviz" || ${recipe} == *"moveit-setup-assistant" || ${recipe} == *"turtlesim" ]]; then | ||
boa build . -m ${FEEDSTOCK_ROOT}/.ci_support/conda_forge_pinnings.yaml -m ${FEEDSTOCK_ROOT}/conda_build_config.yaml -m ${FEEDSTOCK_ROOT}/conda_build_config_old_osx.yaml | ||
else | ||
boa build . -m ${FEEDSTOCK_ROOT}/.ci_support/conda_forge_pinnings.yaml -m ${FEEDSTOCK_ROOT}/conda_build_config.yaml | ||
fi | ||
pixi run -v rattler-build build \ | ||
--recipe ${FEEDSTOCK_ROOT}/recipes/${recipe} \ | ||
-m ${FEEDSTOCK_ROOT}/conda_build_config.yaml \ | ||
-c robostack-jazzy -c conda-forge \ | ||
--output-dir $CONDA_BLD_PATH | ||
|
||
# -m ${FEEDSTOCK_ROOT}/.ci_support/conda_forge_pinnings.yaml \ | ||
done | ||
|
||
anaconda -t ${ANACONDA_API_TOKEN} upload ${CONDA_BLD_PATH}/osx-64/*.tar.bz2 --force | ||
pixi run upload ${CONDA_BLD_PATH}/osx-*/*.conda --force |
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 |
---|---|---|
@@ -1,31 +1,25 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
|
||
export FEEDSTOCK_ROOT=`pwd` | ||
|
||
"${SHELL}" <(curl -L micro.mamba.pm/install.sh) | ||
source ~/.bash_profile | ||
|
||
micromamba config set remote_max_retries 5 | ||
|
||
echo -e "\n\nInstalling conda-forge-ci-setup=3 and conda-build." | ||
micromamba create -n devenv --quiet --yes conda-forge-ci-setup=3 conda-build pip boa quetz-client -c conda-forge | ||
micromamba activate devenv | ||
|
||
set -e | ||
|
||
export "CONDA_BLD_PATH=$CONDA_PREFIX/conda-bld/" | ||
export FEEDSTOCK_ROOT=`pwd` | ||
export "CONDA_BLD_PATH=$HOME/conda-bld/" | ||
|
||
mkdir -p $CONDA_BLD_PATH | ||
curl -fsSL https://pixi.sh/install.sh | bash | ||
export PATH="$HOME/.pixi/bin:$PATH" | ||
|
||
micromamba config append channels conda-forge --env | ||
micromamba config append channels robostack-staging --env | ||
micromamba config append channels $CONDA_BLD_PATH --env | ||
# Remove homebrew from $PATH | ||
export PATH=$(echo $PATH | tr ":" "\n" | grep -v 'homebrew' | xargs | tr ' ' ':') | ||
|
||
for recipe in ${CURRENT_RECIPES[@]}; do | ||
cd ${FEEDSTOCK_ROOT}/recipes/${recipe} | ||
boa build . -m ${FEEDSTOCK_ROOT}/.ci_support/conda_forge_pinnings.yaml -m ${FEEDSTOCK_ROOT}/conda_build_config.yaml | ||
pixi run -v rattler-build build \ | ||
--recipe ${FEEDSTOCK_ROOT}/recipes/${recipe} \ | ||
-m ${FEEDSTOCK_ROOT}/conda_build_config.yaml \ | ||
-c robostack-jazzy -c conda-forge \ | ||
--output-dir $CONDA_BLD_PATH | ||
|
||
# -m ${FEEDSTOCK_ROOT}/.ci_support/conda_forge_pinnings.yaml \ | ||
done | ||
|
||
anaconda -t ${ANACONDA_API_TOKEN} upload ${CONDA_BLD_PATH}/osx-arm64/*.tar.bz2 --force | ||
pixi run upload ${CONDA_BLD_PATH}/osx-*/*.conda --force |
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 |
---|---|---|
@@ -1,35 +1,29 @@ | ||
setlocal EnableExtensions EnableDelayedExpansion | ||
call %CONDA%\condabin\conda_hook.bat | ||
call %CONDA%\condabin\conda.bat activate base | ||
|
||
set CONDA_BLD_PATH=C:\bld | ||
echo "PATH is %PATH%" | ||
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | ||
|
||
rmdir /Q/S C:\Strawberry\ | ||
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | ||
|
||
set "FEEDSTOCK_ROOT=%cd%" | ||
|
||
mkdir %CONDA_BLD_PATH% | ||
call conda index %CONDA_BLD_PATH% | ||
|
||
rem call conda config --remove channels defaults | ||
call conda config --add channels conda-forge | ||
call conda config --add channels robostack-staging | ||
call conda config --add channels %CONDA_BLD_PATH% | ||
:: call conda config --set channel_priority strict | ||
|
||
:: Enable long path names on Windows | ||
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | ||
|
||
:: conda remove --force m2-git | ||
|
||
for %%X in (%CURRENT_RECIPES%) do ( | ||
echo "BUILDING RECIPE %%X" | ||
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | ||
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | ||
pixi run -v rattler-build build --recipe %FEEDSTOCK_ROOT%\recipes\%%X\ ^ | ||
-m %FEEDSTOCK_ROOT%\conda_build_config.yaml ^ | ||
-c robostack-jazzy -c conda-forge ^ | ||
--output-dir %CONDA_BLD_PATH% | ||
|
||
if errorlevel 1 exit 1 | ||
rem -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml | ||
) | ||
|
||
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | ||
pixi run upload "%CONDA_BLD_PATH%\win-64\*.conda" --force | ||
if errorlevel 1 exit 1 |
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
Oops, something went wrong.