Skip to content

Commit 0ddeaaf

Browse files
committed
add mlkem.cmake symlink, move around version header kill script files
1 parent 408e4d7 commit 0ddeaaf

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/mlkem-c.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,14 @@ jobs:
125125

126126
- name: Diff Extraction C++
127127
run: |
128-
libcrux-ml-kem/extracts/headers_kill_revs.sh libcrux-ml-kem/cg
129-
libcrux-ml-kem/extracts/headers_kill_revs.sh ~/mlkem-cpp-extraction
128+
libcrux-ml-kem/extracts/common/headers_kill_revs.sh libcrux-ml-kem/extracts/cpp
129+
libcrux-ml-kem/extracts/common/headers_kill_revs.sh ~/mlkem-cpp-extraction
130130
diff -r libcrux-ml-kem/extracts/cpp/out ~/mlkem-cpp-extraction
131131
132132
- name: Diff Extraction C
133133
run: |
134-
libcrux-ml-kem/extracts/headers_kill_revs.sh libcrux-ml-kem/c
135-
libcrux-ml-kem/extracts/headers_kill_revs.sh ~/mlkem-c-extraction
134+
libcrux-ml-kem/extracts/common/headers_kill_revs.sh libcrux-ml-kem/extracts/c
135+
libcrux-ml-kem/extracts/common/headers_kill_revs.sh ~/mlkem-c-extraction
136136
diff -r libcrux-ml-kem/extracts/c/out ~/mlkem-c-extraction
137137
138138
build-c:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../cpp/out/mlkem.cmake
File renamed without changes.

libcrux-ml-kem/extracts/headers_kill_revs.sh renamed to libcrux-ml-kem/extracts/common/headers_kill_revs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
#
88
# Run this from the repository root.
99

10-
grep -rl -e "This code was generated with the following revisions:" "$1" | xargs -d '\n' sed -i -f libcrux-ml-kem/header_kill_revs.sed
10+
grep -rl -e "This code was generated with the following revisions:" "$1" | xargs -d '\n' sed -i -f libcrux-ml-kem/extracts/common/header_kill_revs.sed
1111
rm -f "$1/code_gen.txt"
1212
rm -f "$1/header.txt"

0 commit comments

Comments
 (0)