From 3bf458090ae1b53338b6a2c1cccdc2e95cd47dd3 Mon Sep 17 00:00:00 2001 From: Michael Graeb Date: Mon, 2 Dec 2024 13:31:12 -0800 Subject: [PATCH] install golang with via package manager because it's simple --- codebuild/cd/manylinux-x64-fips-build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/codebuild/cd/manylinux-x64-fips-build.yml b/codebuild/cd/manylinux-x64-fips-build.yml index b3a76f242..5e2027f20 100644 --- a/codebuild/cd/manylinux-x64-fips-build.yml +++ b/codebuild/cd/manylinux-x64-fips-build.yml @@ -11,10 +11,8 @@ phases: - git submodule update --init # double check aws-lc is the FIPS approved branch. - bash ./codebuild/cd/test-fips-branch.sh - # install recent Golang, following these instructions: https://go.dev/doc/install - - curl -L -o /tmp/go.tar.gz https://go.dev/dl/go1.21.13.linux-amd64.tar.gz - - rm -rf /usr/local/go && tar -C /usr/local -xzf /tmp/go.tar.gz - - export PATH=$PATH:/usr/local/go/bin + # aws-lc FIPS build requires golang for codegen + - yum install -y golang - mvn -B package -DskipTests -Dcrt.classifier=linux-x86_64-fips -Dcmake.crt_fips=ON post_build: