From ce285c79f63890dfd2df439ededcd8fdcb0d75ef Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Sun, 23 Jun 2024 20:13:53 +0200 Subject: [PATCH] add vinca win --- .scripts/build_win.bat | 22 ++++++++-------------- vinca_win.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 14 deletions(-) create mode 100644 vinca_win.yaml diff --git a/.scripts/build_win.bat b/.scripts/build_win.bat index a0c28bd..9d3ac24 100644 --- a/.scripts/build_win.bat +++ b/.scripts/build_win.bat @@ -1,9 +1,7 @@ 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\" @@ -11,25 +9,21 @@ 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 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 diff --git a/vinca_win.yaml b/vinca_win.yaml new file mode 100644 index 0000000..eeb00ff --- /dev/null +++ b/vinca_win.yaml @@ -0,0 +1,38 @@ +ros_distro: jazzy + +# mapping for package keys +conda_index: + - robostack.yaml + - packages-ignore.yaml + +build_number: 0 + +mutex_package: ros2-distro-mutex 0.5 jazzy + +skip_all_deps: false + +# If full rebuild, the build number of the existing package has +# to match the selected build number for skipping +full_rebuild: true + +packages_skip_by_deps: + - cartographer + - octomap + +packages_remove_from_deps: + - cartographer + - octomap + - warehouse_ros_mongo + +skip_existing: + - https://conda.anaconda.org/robostack-jazzy/ + +packages_select_by_deps: + - ros_workspace + - ros_environment + - ros_base + # - desktop + + +patch_dir: patch +