Skip to content

Commit

Permalink
[Makefile] Add the vector crypto generation to golden check in CI
Browse files Browse the repository at this point in the history
Signed-off-by: eop Chen <[email protected]>
  • Loading branch information
eopXD committed Jun 28, 2023
1 parent f59d25a commit 2a9812c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions rvv-intrinsic-generator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,15 @@ diff-autogen:
$(call check_defined, TEST_DIR, output directory for documents/tests generation)
rm -rf ${abspath ${TEST_DIR}}
make OUTPUT_DIR=${TEST_DIR}
make EXTRA_FLAG=--gen-vector-crypto OUTPUT_DIR=${TEST_DIR}/vector-crypto

# Remove redundant folder created for vector crypto. The reason this line is
# needed is because the targets in this Makefile to generate compatible header
# creates a folder in prior before running the script. The vector crypto,
# however, does not need compatible header because it does not exist before
# v0.10.
rm -rf ${TEST_DIR}/vector-crypto/rvv-v0p10-compatible-headers

diff -qr ${TEST_DIR} ${GOLDEN_DIR}

###############################################################################
Expand Down

0 comments on commit 2a9812c

Please sign in to comment.