Skip to content

Commit e415b5a

Browse files
committed
Pixi/conda packaging
1 parent d740e5b commit e415b5a

File tree

8 files changed

+4141
-2
lines changed

8 files changed

+4141
-2
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# GitHub syntax highlighting
2+
pixi.lock linguist-language=YAML

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build/
2+
install/
3+
output/
4+
.pixi/

recipes/tcb_span/recipe.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
context:
2+
name: ros-humble-tcb-span
3+
version: "1.0.2"
4+
5+
package:
6+
name: "{{ name|lower }}"
7+
version: "{{ version }}"
8+
9+
source:
10+
path: "/home/tyler/code/pixi-packaging/cpp_polyfills/tcb_span"
11+
12+
build:
13+
number: 0
14+
script:
15+
- cd tcb_span
16+
- cmake ${CMAKE_ARGS} -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -S . -B build
17+
- cmake --build build
18+
- cmake --install build --prefix $PREFIX
19+
20+
requirements:
21+
build:
22+
- "{{ compiler('cxx') }}"
23+
- cmake
24+
- make
25+
- ros-humble-ament-cmake
26+
27+
test:
28+
commands:
29+
- test -f ${PREFIX}/include/tcb_span/span.hpp
30+
31+
about:
32+
home: https://github.com/PickNikRobotics/cpp_polyfills
33+
license: BSL-1.0
34+
summary: Implementation of C++20's std::span

recipes/tl_expected/recipe.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
context:
2+
name: ros-humble-tl-expected
3+
version: "1.0.2"
4+
5+
package:
6+
name: "{{ name|lower }}"
7+
version: "{{ version }}"
8+
9+
source:
10+
git_url: https://github.com/PickNikRobotics/cpp_polyfills.git
11+
git_rev: 1.0.2
12+
13+
build:
14+
number: 0
15+
script:
16+
- cd tl_expected
17+
- cmake ${CMAKE_ARGS} -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -S . -B build
18+
- cmake --build build
19+
- cmake --install build --prefix $PREFIX
20+
21+
requirements:
22+
build:
23+
- "{{ compiler('cxx') }}"
24+
- cmake
25+
- make
26+
- ros-humble-ament-cmake
27+
- ros-humble-ament-cmake-gtest
28+
29+
test:
30+
commands:
31+
- test -f ${PREFIX}/include/tl_expected/expected.hpp
32+
33+
about:
34+
home: https://github.com/PickNikRobotics/cpp_polyfills
35+
license: CC0-1.0
36+
summary: C++11/14/17 std::expected with functional-style extensions

tcb_span/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<description>Implementation of C++20's std::span</description>
77
<maintainer email="[email protected]">Tyler Weaver</maintainer>
88

9-
<license>Boost Software License</license>
9+
<license>BSL-1.0</license>
1010
<url>https://github.com/tcbrindle/span</url>
1111

1212
<buildtool_depend>ament_cmake</buildtool_depend>

0 commit comments

Comments
 (0)