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

Increase build parallelism #73

Merged
merged 1 commit into from
Sep 17, 2024
Merged
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 Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
ARG UBUNTU_VERSION=22.04
ARG GRPC_VERSION=v1.65.5

FROM arm64v8/ubuntu:${UBUNTU_VERSION} AS containerized_aarch64

Check warning on line 9 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build and push containerized images (aarch64)

Base image platform does not match expected target platform

InvalidBaseImagePlatform: Base image arm64v8/ubuntu:22.04 was pulled with platform "linux/arm64", expected "linux/amd64" for current build
FROM arm32v7/ubuntu:${UBUNTU_VERSION} AS containerized_armv7hf

Check warning on line 10 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build and push containerized images (armv7hf)

Base image platform does not match expected target platform

InvalidBaseImagePlatform: Base image arm32v7/ubuntu:22.04 was pulled with platform "linux/arm/v7", expected "linux/amd64" for current build

FROM ${REPO}/acap-native-sdk:${VERSION}-${ARCH}-ubuntu${UBUNTU_VERSION} AS acap-native-sdk

Expand Down Expand Up @@ -127,7 +127,7 @@
-DgRPC_BUILD_TESTS=OFF \
-DgRPC_SSL_PROVIDER=package \
../..
make -j4 install
make "-j$(nproc)" install
EOF

FROM build_grpc AS build_grpc_arm
Expand Down Expand Up @@ -157,7 +157,7 @@
-DCMAKE_FIND_ROOT_PATH="$SDKTARGETSYSROOT"/usr \
-DCMAKE_BUILD_TYPE=Release \
../..
make -j4 install/strip
make "-j$(nproc)" install/strip
cp -r /opt/grpc/third_party/googletest/googletest/include/gtest \
"$SDKTARGETSYSROOT"/usr/include
EOF
Expand Down