Skip to content

Add a new recipe: pinocchio #27734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

The-NUM
Copy link
Contributor

@The-NUM The-NUM commented Jun 19, 2025

Summary

Add recipe for pinocchio/3.7.0: https://github.com/stack-of-tasks/pinocchio


Maintainer edits

Created components instead of listing every library in top-level cpp_info
Simplified test_package

@pblxptr

This comment was marked as off-topic.

@The-NUM
Copy link
Contributor Author

The-NUM commented Jun 19, 2025

@AbrilRBS I intended to add a tool_requires to the test_package, but it seems I accidentally reverted the branch state. Apologies for the oversight.

@jcar87
Copy link
Contributor

jcar87 commented Jun 20, 2025

The heavy use of templates seem to be crashing the compiler on Linux (both on CI and locally, surprisingly).
@The-NUM , @AbrilRBS - any success at a local build on Linux at all?

@The-NUM
Copy link
Contributor Author

The-NUM commented Jun 20, 2025

The build completes successfully on my laptop

cpu: 12th Gen Intel(R) Core(TM) i7-12700H
ram: 32GiB DDR4
os: Ubuntu 24.04.1 LTS

profile:

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux

@The-NUM
Copy link
Contributor Author

The-NUM commented Jun 23, 2025

@AbrilRBS Could you please explain what self.cpp_info.components["<comp_name>"].defines means?

@AbrilRBS
Copy link
Member

@AbrilRBS Could you please explain what self.cpp_info.components["<comp_name>"].defines means?

@The-NUM the defines attribute in the components means that the consumers of these components will have that definition added when consuming the component. I've checked and only PINOCCHIO_WITH_URDFDOM seems to be necessary for the parser component

@qx13
Copy link

qx13 commented Jun 23, 2025

@jcar87 I was build fast 30 sec.
my PC

lshw -short
H/W path                    Device          Class          Description
                                        system         System Product Name (SKU)

/0 bus ROG CROSSHAIR X670E HERO
/0/0 memory 64KiB BIOS
/0/d memory 1MiB L1 cache
/0/e memory 16MiB L2 cache
/0/f memory 64MiB L3 cache
/0/10 processor AMD Ryzen 9 7950X 16-Core Processor
/0/13 memory 192GiB System Memory
/0/13/0 memory 48GiB DIMM Synchronous Unbuffered (Unregistered) 4800 MHz (0.2 ns)
/0/13/1 memory 48GiB DIMM Synchronous Unbuffered (Unregistered) 4800 MHz (0.2 ns)
/0/13/2 memory 48GiB DIMM Synchronous Unbuffered (Unregistered) 4800 MHz (0.2 ns)
/0/13/3 memory 48GiB DIMM Synchronous Unbuffered (Unregistered) 4800 MHz (0.2 ns)
/0/100 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/0.2 generic Advanced Micro Devices, Inc. [AMD]
/0/100/1.1 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/1.1/0 display AD102 [GeForce RTX 4090]
/0/100/1.1/0.1 card0 multimedia AD102 High Definition Audio Controller
/0/100/1.1/0.1/0 input10 input HDA NVidia HDMI/DP,pcm=8
/0/100/1.1/0.1/1 input11 input HDA NVidia HDMI/DP,pcm=9
/0/100/1.1/0.1/2 input8 input HDA NVidia HDMI/DP,pcm=3
/0/100/1.1/0.1/3 input9 input HDA NVidia HDMI/DP,pcm=7
/0/100/1.2 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/1.2/0 /dev/nvme0 storage Samsung SSD 980 PRO 2TB
/0/100/1.2/0/0 hwmon0 disk NVMe disk
/0/100/1.2/0/2 /dev/ng0n1 disk NVMe disk
/0/100/1.2/0/1 /dev/nvme0n1 disk 2TB NVMe disk
/0/100/1.2/0/1/1 volume 1074MiB Windows FAT volume
/0/100/1.2/0/1/2 /dev/nvme0n1p2 volume 2GiB EXT4 volume
/0/100/1.2/0/1/3 /dev/nvme0n1p3 volume 1859GiB EFI partition
/0/100/1.3 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/1.3/0 display AD102 [GeForce RTX 4090]
/0/100/1.3/0.1 card1 multimedia AD102 High Definition Audio Controller
/0/100/1.3/0.1/0 input12 input HDA NVidia HDMI/DP,pcm=3
/0/100/1.3/0.1/1 input13 input HDA NVidia HDMI/DP,pcm=7
/0/100/1.3/0.1/2 input14 input HDA NVidia HDMI/DP,pcm=8
/0/100/1.3/0.1/3 input15 input HDA NVidia HDMI/DP,pcm=9
/0/100/2.1 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/2.1/0 bridge 600 Series Chipset PCIe Switch Upstream Port
/0/100/2.1/0/0 bridge 600 Series Chipset PCIe Switch Downstream Port
/0/100/2.1/0/8 bridge 600 Series Chipset PCIe Switch Downstream Port
/0/100/2.1/0/8/0 bridge 600 Series Chipset PCIe Switch Upstream Port
/0/100/2.1/0/8/0/0 bridge 600 Series Chipset PCIe Switch Downstream Port
/0/100/2.1/0/8/0/0/0 wlp9s0 network Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak]
/0/100/2.1/0/8/0/1 bridge 600 Series Chipset PCIe Switch Downstream Port
/0/100/2.1/0/8/0/1/0 eno1 network Ethernet Controller I225-V
/0/100/2.1/0/8/0/2 bridge 600 Series Chipset PCIe Switch Downstream Port
/0/100/2.1/0/8/0/3 bridge 600 Series Chipset PCIe Switch Downstream Port
/0/100/2.1/0/8/0/3/0 storage ASM1061/ASM1062 Serial ATA Controller
/0/100/2.1/0/8/0/4 bridge 600 Series Chipset PCIe Switch Downstream Port
/0/100/2.1/0/8/0/4/0 bridge Thunderbolt 4 Bridge [Maple Ridge 4C 2020]
/0/100/2.1/0/8/0/4/0/0 bridge Thunderbolt 4 Bridge [Maple Ridge 4C 2020]
/0/100/2.1/0/8/0/4/0/0/0 bus Thunderbolt 4 NHI [Maple Ridge 4C 2020]
/0/100/2.1/0/8/0/4/0/1 bridge Thunderbolt 4 Bridge [Maple Ridge 4C 2020]
/0/100/2.1/0/8/0/4/0/2 bridge Thunderbolt 4 Bridge [Maple Ridge 4C 2020]
/0/100/2.1/0/8/0/4/0/2/0 bus Thunderbolt 4 USB Controller [Maple Ridge 4C 2020]
/0/100/2.1/0/8/0/4/0/2/0/0 usb1 bus xHCI Host Controller
/0/100/2.1/0/8/0/4/0/2/0/1 usb2 bus xHCI Host Controller
/0/100/2.1/0/8/0/4/0/3 bridge Thunderbolt 4 Bridge [Maple Ridge 4C 2020]
/0/100/2.1/0/8/0/8 bridge 600 Series Chipset PCIe Switch Downstream Port
/0/100/2.1/0/8/0/c bridge 600 Series Chipset PCIe Switch Downstream Port
/0/100/2.1/0/8/0/c/0 bus 600 Series Chipset USB 3.2 Controller
/0/100/2.1/0/8/0/c/0/0 usb3 bus xHCI Host Controller
/0/100/2.1/0/8/0/c/0/0/6 communication AX210 Bluetooth
/0/100/2.1/0/8/0/c/0/0/b multimedia USB Audio
/0/100/2.1/0/8/0/c/0/1 usb4 bus xHCI Host Controller
/0/100/2.1/0/8/0/d bridge 600 Series Chipset PCIe Switch Downstream Port
/0/100/2.1/0/8/0/d/0 storage 600 Series Chipset SATA Controller
/0/100/2.1/0/c bridge 600 Series Chipset PCIe Switch Downstream Port
/0/100/2.1/0/c/0 bus 600 Series Chipset USB 3.2 Controller
/0/100/2.1/0/c/0/0 usb5 bus xHCI Host Controller
/0/100/2.1/0/c/0/0/5 bus ASM107x
/0/100/2.1/0/c/0/0/b input AURA LED Controller
/0/100/2.1/0/c/0/1 usb6 bus xHCI Host Controller
/0/100/2.1/0/c/0/1/5 bus ASM107x
/0/100/2.1/0/d bridge 600 Series Chipset PCIe Switch Downstream Port
/0/100/2.1/0/d/0 scsi10 storage 600 Series Chipset SATA Controller
/0/100/2.1/0/d/0/0 /dev/sda disk 14TB WDC WD142PURP-85
/0/100/2.1/0/d/0/1 /dev/sdb disk 14TB WDC WD142PURP-85
/0/100/2.1/0/d/0/1/1 /dev/sdb1 volume 12TiB EXT4 volume
/0/100/8.1 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/8.1/0 display Raphael
/0/100/8.1/0.1 card2 multimedia Rembrandt Radeon High Definition Audio Controller
/0/100/8.1/0.1/0 input5 input HD-Audio Generic HDMI/DP,pcm=3
/0/100/8.1/0.1/1 input6 input HD-Audio Generic HDMI/DP,pcm=7
/0/100/8.1/0.1/2 input7 input HD-Audio Generic HDMI/DP,pcm=8
/0/100/8.1/0.2 generic Family 19h PSP/CCP
/0/100/8.1/0.3 bus Advanced Micro Devices, Inc. [AMD]
/0/100/8.1/0.3/0 usb7 bus xHCI Host Controller
/0/100/8.1/0.3/1 usb8 bus xHCI Host Controller
/0/100/8.1/0.4 bus Advanced Micro Devices, Inc. [AMD]
/0/100/8.1/0.4/0 usb9 bus xHCI Host Controller
/0/100/8.1/0.4/1 usb10 bus xHCI Host Controller
/0/100/8.3 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/8.3/0 bus Advanced Micro Devices, Inc. [AMD]
/0/100/8.3/0/0 usb11 bus xHCI Host Controller
/0/100/8.3/0/1 usb12 bus xHCI Host Controller
/0/100/14 bus FCH SMBus Controller
/0/100/14.3 bridge FCH LPC Bridge
/0/100/14.3/0 system PnP device PNP0c01
/0/100/14.3/1 system PnP device PNP0c02
/0/100/14.3/2 system PnP device PNP0b00
/0/100/14.3/3 system PnP device PNP0c02
/0/100/14.3/4 system PnP device PNP0c02
/0/101 bridge Advanced Micro Devices, Inc. [AMD]
/0/102 bridge Advanced Micro Devices, Inc. [AMD]
/0/103 bridge Advanced Micro Devices, Inc. [AMD]
/0/104 bridge Advanced Micro Devices, Inc. [AMD]
/0/105 bridge Advanced Micro Devices, Inc. [AMD]
/0/106 bridge Advanced Micro Devices, Inc. [AMD]
/0/107 bridge Advanced Micro Devices, Inc. [AMD]
/0/108 bridge Advanced Micro Devices, Inc. [AMD]
/0/109 bridge Advanced Micro Devices, Inc. [AMD]
/0/10a bridge Advanced Micro Devices, Inc. [AMD]
/0/10b bridge Advanced Micro Devices, Inc. [AMD]
/0/10c bridge Advanced Micro Devices, Inc. [AMD]
/0/10d bridge Advanced Micro Devices, Inc. [AMD]
/1 card3 multimedia Audio
/2 input0 input Power Button
/3 input1 input Power Button
/4 input2 input Video Bus
/5 input3 input Asus WMI hotkeys
/6 input4 input Eee PC WMI hotkeys

profile:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux

@qx13
Copy link

qx13 commented Jun 23, 2025

@AbrilRBS is it possible that Renner(Linux) does not have enough resources to compile this package?

@The-NUM
Copy link
Contributor Author

The-NUM commented Jun 26, 2025

@AbrilRBS Hi! Would it be possible to take a look at the pipeline? We'd really appreciate having this library available as a Conan package, as it would help us avoid maintaining it separately within our internal infrastructure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants