Skip to content

Commit 8213bee

Browse files
committed
AWS-LC integration: Temporarily patch importer.sh
The script importing mlkem-native into AWS-LC does not work as expected on MacOS. While this is the case, patch it up. This commit will be removed once the importer is fixed in AWS-LC. Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>
1 parent ebba262 commit 8213bee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/actions/setup-aws-lc/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,9 @@ runs:
3232
3333
# Remember AWS-LC directory
3434
echo AWSLC_DIR="$GITHUB_WORKSPACE/${{ inputs.dir }}" >> $GITHUB_ENV
35+
AWSLC_DIR=$GITHUB_WORKSPACE/${{ inputs.dir }}
36+
37+
# TEMPORARY: Patch up importer
38+
if [[ "$(uname)" == "Darwin" ]]; then
39+
sed -i '' 's/\$SED_I/"${SED_I[@]}"/g' $AWSLC_DIR/crypto/fipsmodule/ml_kem/importer.sh
40+
fi

0 commit comments

Comments
 (0)