Skip to content

Commit

Permalink
add vinca win
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Jun 23, 2024
1 parent e8b9523 commit ce285c7
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .scripts/build_win.bat
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 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
38 changes: 38 additions & 0 deletions vinca_win.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ce285c7

Please sign in to comment.