Skip to content

Commit e5eaae2

Browse files
authored
Merge pull request #1249 from cryspen/keks/fix-mlkem-extract-script
Fix paths when copying to boring in ml-kem extract.sh
2 parents bc54e43 + c61e1fd commit e5eaae2

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

β€Ž.github/workflows/mlkem-c.ymlβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,11 @@ jobs:
238238
cmake --build build
239239
240240
- name: πŸƒπŸ»β€β™€οΈ Test
241-
run: ./build/ml_kem_test
241+
run: ./build/ml_kem_test768
242242
if: ${{ matrix.os != 'windows-latest' }}
243243

244244
- name: πŸƒπŸ»β€β™€οΈ Test
245-
run: ./build/Debug/ml_kem_test
245+
run: ./build/Debug/ml_kem_test768
246246
if: ${{ matrix.os == 'windows-latest' }}
247247

248248
build-cpp-header-only:
@@ -275,9 +275,9 @@ jobs:
275275
cmake --build build
276276
277277
- name: πŸƒπŸ»β€β™€οΈ Test
278-
run: ./build/ml_kem_test
278+
run: ./build/ml_kem_test768
279279
if: ${{ matrix.os != 'windows-latest' }}
280280

281281
- name: πŸƒπŸ»β€β™€οΈ Test
282-
run: ./build/Debug/ml_kem_test
282+
run: ./build/Debug/ml_kem_test768
283283
if: ${{ matrix.os == 'windows-latest' }}

β€Žlibcrux-ml-kem/extracts/cpp_header_only/extract.shβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ fi
3232
if [[ -n "$BORINGSSL_HOME" ]]; then
3333
echo "Copying the files into $BORINGSSL_HOME/third_party/libcrux/"
3434

35-
cp cg/libcrux_*.h $BORINGSSL_HOME/third_party/libcrux/
36-
cp cg/code_gen.txt $BORINGSSL_HOME/third_party/libcrux/
37-
cp -r cg/intrinsics $BORINGSSL_HOME/third_party/libcrux/
35+
cp generated/libcrux_*.h $BORINGSSL_HOME/third_party/libcrux/
36+
cp generated/code_gen.txt $BORINGSSL_HOME/third_party/libcrux/
37+
cp -r generated/intrinsics $BORINGSSL_HOME/third_party/libcrux/
3838

3939
# We use special files here.
40-
cp cg/boring/eurydice_glue.h $BORINGSSL_HOME/third_party/libcrux/
41-
cp -r cg/boring/karamel $BORINGSSL_HOME/third_party/libcrux/
40+
cp generated/boring/eurydice_glue.h $BORINGSSL_HOME/third_party/libcrux/
41+
cp -r generated/boring/karamel $BORINGSSL_HOME/third_party/libcrux/
4242
fi

0 commit comments

Comments
Β (0)