diff --git a/ansible/roles/build_tools/tasks/main.yaml b/ansible/roles/build_tools/tasks/main.yaml index 67ef1e7f0e0..1575589e19d 100644 --- a/ansible/roles/build_tools/tasks/main.yaml +++ b/ansible/roles/build_tools/tasks/main.yaml @@ -8,7 +8,7 @@ - name: Add CCACHE_DIR to .bashrc ansible.builtin.lineinfile: dest: ~/.bashrc - line: export CCACHE_DIR="/ccache" + line: export CCACHE_DIR="/var/tmp/ccache" state: present create: true mode: 0644 @@ -31,7 +31,7 @@ - name: Create ccache directory ansible.builtin.file: - path: /ccache + path: /var/tmp/ccache state: directory mode: 0755 diff --git a/ansible/roles/tensorrt/tasks/main.yaml b/ansible/roles/tensorrt/tasks/main.yaml index 8e01abf1e8c..90b0237d64d 100644 --- a/ansible/roles/tensorrt/tasks/main.yaml +++ b/ansible/roles/tensorrt/tasks/main.yaml @@ -16,6 +16,8 @@ ansible.builtin.apt: name: - libcudnn8-dev={{ cudnn_version }} + - libnvinfer-headers-dev={{ tensorrt_version }} + - libnvinfer-headers-plugin-dev={{ tensorrt_version }} - libnvinfer-dev={{ tensorrt_version }} - libnvinfer-plugin-dev={{ tensorrt_version }} - libnvparsers-dev={{ tensorrt_version }} diff --git a/docker/autoware-openadk/Dockerfile b/docker/autoware-openadk/Dockerfile index 561862f1e3e..3a2a7095ce8 100644 --- a/docker/autoware-openadk/Dockerfile +++ b/docker/autoware-openadk/Dockerfile @@ -45,7 +45,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] ARG ROS_DISTRO ARG SETUP_ARGS ARG ROS_DISTRO -ENV CCACHE_DIR=/ccache +ENV CCACHE_DIR="/var/tmp/ccache" ENV CC="/usr/lib/ccache/gcc" ENV CXX="/usr/lib/ccache/g++" @@ -74,7 +74,7 @@ RUN --mount=type=ssh \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ && find /autoware/install -type d -exec chmod 777 {} \; \ - && chmod -R 777 /ccache \ + && chmod -R 777 /var/tmp/ccache \ && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* "$HOME"/.cache \ && rm -rf /autoware/build /autoware/src