bneradt commented on code in PR #9606:
URL: https://github.com/apache/trafficserver/pull/9606#discussion_r1165734072
##########
tools/build_h3_tools.sh:
##########
@@ -169,3 +169,38 @@ autoreconf -i
LDFLAGS="${LDFLAGS}"
${MAKE} -j $(nproc)
sudo ${MAKE} install
+
+# boringssl
+echo "Building boringssl..."
+
+# We need this go version.
+GO_BASE_PATH=/usr/local
+if [ ! -d ${GO_BASE_PATH} ]; then
+ sudo mkdir ${GO_BASE_PATH}
+fi
+
+wget https://go.dev/dl/go1.20.1.linux-amd64.tar.gz
+sudo rm -rf ${GO_BASE_PATH}/go && sudo tar -C ${GO_BASE_PATH} -xf
go1.20.1.linux-amd64.tar.gz
+rm go1.20.1.linux-amd64.tar.gz
Review Comment:
I suppose we can also support native mac builds too. :)
```sh
if [ `uname -m` = "arm64" ]; then
ARCH="arm64"
else
ARCH="amd64"
fi
if [ `uname -s` = "Darwin" ]; then
OS="darwin"
else
OS="linux"
fi
wget https://go.dev/dl/go1.20.1.${OS}-${ARCH}.tar.gz
sudo rm -rf ${GO_BASE_PATH}/go && sudo tar -C ${GO_BASE_PATH} -xf
go1.20.1.${OS}-${ARCH}.tar.gz
rm go1.20.1.${OS}-${ARCH}.tar.gz
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]