Skip to content
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

build: add support for CUDA in Debian builds #110

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/generate-deb-packages-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
- name: "Build Debian packages (pushing packages to repository: ${{ env.push_packages }})"
uses: esteve/ros-deb-builder-action@tier4/main
with:
ROSDEP_SOURCE: yaml https://s3.amazonaws.com/autonomoustuff-repo/autonomoustuff-public-humble.yaml
SBUILD_CONF: $extra_repositories = ["deb [trusted=yes] https://s3.amazonaws.com/autonomoustuff-repo/ jammy main"];
ROSDEP_SOURCE: yaml https://raw.githubusercontent.com/autowarefoundation/autoware-deb-packages/cuda/autoware-rosdep.yaml
SBUILD_CONF: $extra_repositories = ["deb [trusted=yes] https://s3.amazonaws.com/autonomoustuff-repo/ jammy main", "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /"]; $extra_repository_keys = ["${{ github.workspace }}/nvidia-cuda-apt-repo-3bf863cc.pub"];
DEB_DISTRO: jammy
ROS_DISTRO: humble
REPOS_FILE: sources.repos
Expand Down
13 changes: 13 additions & 0 deletions autoware-rosdep.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
delphi_esr: {ubuntu: ros-humble-delphi-esr}
kvaser_interface: {ubuntu: ros-humble-kvaser-interface}
libas-common: {ubuntu: libas-common}
network_interface: {ubuntu: ros-humble-network-interface}
pacmod2: {ubuntu: ros-humble-pacmod2}
pacmod3: {ubuntu: ros-humble-pacmod3}
pacmod2_msgs: {ubuntu: ros-humble-pacmod2-msgs}
pacmod3_msgs: {ubuntu: ros-humble-pacmod3-msgs}
pacmod_game_control: {ubuntu: ros-humble-pacmod-game-control}
ssc_pm_gem_e4: {ubuntu: ros-humble-ssc-pm-gem-e4}
cuda: {ubuntu: cuda}
tensorrt-dev: {ubuntu: tensorrt-dev}
libcudnn8-dev: {ubuntu: libcudnn8-dev}
29 changes: 29 additions & 0 deletions nvidia-cuda-apt-repo-3bf863cc.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.22 (GNU/Linux)

mQINBGJYmlEBEAC6nJmeqByeReM+MSy4palACCnfOg4pOxffrrkldxz4jrDOZNK4
q8KG+ZbXrkdP0e9qTFRvZzN+A6Jw3ySfoiKXRBw5l2Zp81AYkghV641OpWNjZOyL
syKEtST9LR1ttHv1ZI71pj8NVG/EnpimZPOblEJ1OpibJJCXLrbn+qcJ8JNuGTSK
6v2aLBmhR8VR/aSJpmkg7fFjcGklweTI8+Ibj72HuY9JRD/+dtUoSh7z037mWo56
ee02lPFRD0pHOEAlLSXxFO/SDqRVMhcgHk0a8roCF+9h5Ni7ZUyxlGK/uHkqN7ED
/U/ATpGKgvk4t23eTpdRC8FXAlBZQyf/xnhQXsyF/z7+RV5CL0o1zk1LKgo+5K32
5ka5uZb6JSIrEPUaCPEMXu6EEY8zSFnCrRS/Vjkfvc9ViYZWzJ387WTjAhMdS7wd
PmdDWw2ASGUP4FrfCireSZiFX+ZAOspKpZdh0P5iR5XSx14XDt3jNK2EQQboaJAD
uqksItatOEYNu4JsCbc24roJvJtGhpjTnq1/dyoy6K433afU0DS2ZPLthLpGqeyK
MKNY7a2WjxhRmCSu5Zok/fGKcO62XF8a3eSj4NzCRv8LM6mG1Oekz6Zz+tdxHg19
ufHO0et7AKE5q+5VjE438Xpl4UWbM/Voj6VPJ9uzywDcnZXpeOqeTQh2pQARAQAB
tCBjdWRhdG9vbHMgPGN1ZGF0b29sc0BudmlkaWEuY29tPokCOQQTAQIAIwUCYlia
UQIbAwcLCQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEKS0aZY7+GPM1y4QALKh
BqSozrYbe341Qu7SyxHQgjRCGi4YhI3bHCMj5F6vEOHnwiFH6YmFkxCYtqcGjca6
iw7cCYMow/hgKLAPwkwSJ84EYpGLWx62+20rMM4OuZwauSUcY/kE2WgnQ74zbh3+
MHs56zntJFfJ9G+NYidvwDWeZn5HIzR4CtxaxRgpiykg0s3ps6X0U+vuVcLnutBF
7r81astvlVQERFbce/6KqHK+yj843Qrhb3JEolUoOETK06nD25bVtnAxe0QEyA90
9MpRNLfR6BdjPpxqhphDcMOhJfyubAroQUxG/7S+Yw+mtEqHrL/dz9iEYqodYiSo
zfi0b+HFI59sRkTfOBDBwb3kcARExwnvLJmqijiVqWkoJ3H67oA0XJN2nelucw+A
Hb+Jt9BWjyzKWlLFDnVHdGicyRJ0I8yqi32w8hGeXmu3tU58VWJrkXEXadBftmci
pemb6oZ/r5SCkW6kxr2PsNWcJoebUdynyOQGbVwpMtJAnjOYp0ObKOANbcIg+tsi
kyCIO5TiY3ADbBDPCeZK8xdcugXoW5WFwACGC0z+Cn0mtw8z3VGIPAMSCYmLusgW
t2+EpikwrP2inNp5Pc+YdczRAsa4s30Jpyv/UHEG5P9GKnvofaxJgnU56lJIRPzF
iCUGy6cVI0Fq777X/ME1K6A/bzZ4vRYNx8rUmVE5
=DO7z
-----END PGP PUBLIC KEY BLOCK-----
28 changes: 12 additions & 16 deletions sources.repos
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,19 @@ repositories:
core/autoware.core:
type: git
url: https://github.com/autowarefoundation/autoware.core.git
version: a7e470a5e89dca248d9016fcced1abce1efb556e
version: e41562355e6b7b7793b6de2f5b863874cfd78888
core/autoware_adapi_msgs:
type: git
url: https://github.com/autowarefoundation/autoware_adapi_msgs.git
version: 1e7672493fe77e2c42e503ccbeef25f8bd4eea15
version: d81c8bbe3f2a57bf2fc0c95e923113220e9f38e4
core/autoware_cmake:
type: git
url: https://github.com/autowarefoundation/autoware_cmake.git
version: 890e31281d293b87933b1ad3c1d2846c88d77ffa
core/autoware_common:
type: git
url: https://github.com/autowarefoundation/autoware_common.git
version: 6752ca71a985c3bd39ab9cc23a3695930f0a6e29
core/autoware_internal_msgs:
type: git
url: https://github.com/autowarefoundation/autoware_internal_msgs.git
version: 4f5feff509b52d6de802c87b79e44636f8c88a25
version: b26950ab048356b65a889b50cb30f70ffae35fe6
core/autoware_lanelet2_extension:
type: git
url: https://github.com/autowarefoundation/autoware_lanelet2_extension.git
Expand All @@ -34,7 +30,7 @@ repositories:
launcher/autoware_launch:
type: git
url: https://github.com/autowarefoundation/autoware_launch.git
version: 45ad76b85f764a22b8d4587c37ca5e0ca4d29fad
version: e04e16f8398004f02e9cca461fe85a0fa05492f4
param/autoware_individual_params:
type: git
url: https://github.com/autowarefoundation/autoware_individual_params.git
Expand Down Expand Up @@ -62,23 +58,23 @@ repositories:
sensor_kit/awsim_labs_sensor_kit_launch:
type: git
url: https://github.com/autowarefoundation/awsim_labs_sensor_kit_launch.git
version: 0f811025ab2fc0427d7bf85c31d659ffc42610fe
version: 71b4862f0f76bbc0b9b4b00f26a862ac0ea3f840
sensor_kit/external/awsim_sensor_kit_launch:
type: git
url: https://github.com/tier4/awsim_sensor_kit_launch.git
version: 28d67e1d90bdbd89b1ff2bbd1abc63549e12a951
sensor_kit/sample_sensor_kit_launch:
type: git
url: https://github.com/autowarefoundation/sample_sensor_kit_launch.git
version: 3e652bf8d267386b5a3abf833b5e13590894c82d
version: 626d597020066560651b53a433d6da26e59e4782
sensor_kit/single_lidar_sensor_kit_launch:
type: git
url: https://github.com/autowarefoundation/single_lidar_sensor_kit_launch.git
version: 52219a5a730708e2c22b2a8164a68f999bd35127
version: e14679e05caf29e1d853800abd9738798d49f48e
universe/autoware.universe:
type: git
url: https://github.com/autowarefoundation/autoware.universe.git
version: e808fdc0a565e80161c03f36489822bda3478e8c
url: https://github.com/esteve/autoware.universe.git
version: add-cuda-deps
universe/external/eagleye:
type: git
url: https://github.com/MapIV/eagleye.git
Expand Down Expand Up @@ -114,16 +110,16 @@ repositories:
universe/external/tier4_autoware_msgs:
type: git
url: https://github.com/tier4/tier4_autoware_msgs.git
version: be1e3684c60c2d812ac350adbd8cc64f4cba4ba7
version: d0e52d3909fa7f65871872ea48eaf068882b9f3d
vehicle/awsim_labs_vehicle_launch:
type: git
url: https://github.com/autowarefoundation/awsim_labs_vehicle_launch.git
version: a7d1e7a64c3f7e4b27b49ea247ec6b82e713166f
version: be791b9b257ef6a440c635f95438310abf876d95
vehicle/external/pacmod_interface:
type: git
url: https://github.com/tier4/pacmod_interface.git
version: 1c033a21ce0c41cd4fb878b95d3e1620de79e95a
vehicle/sample_vehicle_launch:
type: git
url: https://github.com/autowarefoundation/sample_vehicle_launch.git
version: 292d6d90eddd41e32217f34519e4b99fed009dec
version: cd852aed85aaf033a0747050cf4300967e89c1ae
Loading