Skip to content

Commit 5744a3f

Browse files
committed
Add OpenSSL installation to GCC setup for cross-compilation
1 parent e4d989d commit 5744a3f

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/graphs/build-test-publish.act

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ nodes:
7171
x: -3030
7272
y: 4770
7373
inputs:
74-
install: mingw-w64-ucrt-x86_64-gcc
74+
install: mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-openssl
7575
- id: concurrent-for-each-loop-v1-starfish-white-whale
7676
type: core/concurrent-for-each-loop@v1
7777
position:
@@ -107,12 +107,14 @@ nodes:
107107

108108

109109
export CC=gcc
110+
export CXX=g++
110111

111112
# Cgo requires a cross-compiler that is not installed on GitHub runners
112113
as of now.
113114

114115
[[ "$CURRENT_OS" == "linux" && "$ARCH" == "arm64" ]] &&
115-
CC=aarch64-linux-gnu-gcc
116+
CC=aarch64-linux-gnu-gcc &&
117+
CXX=aarch64-linux-gnu-g++
116118

117119

118120
# Download P4 API SDK for the target platform
@@ -288,8 +290,8 @@ nodes:
288290
inputs:
289291
script: |-
290292
# check the build node script
291-
sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu
292-
comment: Install a GCC version capable of cross-compiling
293+
sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
294+
comment: Install a GCC/G++ version capable of cross-compiling
293295
- id: switch-platform-v1-dog-snake-ivory
294296
type: core/switch-platform@v1
295297
position:

0 commit comments

Comments
 (0)