Skip to content

Commit

Permalink
Fix AWS-LC submodule tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
WillChilds-Klein committed Jan 28, 2025
1 parent 2b54eb3 commit d1c5529
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ if (ext.isExperimentalFips) {
ext.isFips = Boolean.getBoolean('FIPS')
}

// TODO [childw] use AWS-LC release tag here when ready
ext.awsLcGitVersionId = '3263ce2a553e4e917217fb487f8c6f488fcb1866'
if (ext.isExperimentalFips || !ext.isFips) {
// Experimental FIPS uses the same AWS-LC version as non-FIPS builds.
ext.awsLcGitVersionId = 'v1.43.0'
} else {
ext.awsLcGitVersionId = 'AWS-LC-FIPS-3.0.0'
}

// Check for user inputted git version ID.
if (System.properties["AWSLC_GITVERSION"]) {
Expand Down Expand Up @@ -206,11 +210,10 @@ task buildAwsLc {
workingDir awslcSrcPath
commandLine "git", "fetch", "--tags"
}
// TODO [childw] uncomment below
//exec {
//workingDir awslcSrcPath
//commandLine "git", "checkout", awsLcGitVersionId
//}
exec {
workingDir awslcSrcPath
commandLine "git", "checkout", awsLcGitVersionId
}
}
mkdir "${buildDir}/awslc"
mkdir sharedObjectOutDir
Expand Down

0 comments on commit d1c5529

Please sign in to comment.