backend/rv64: Add biscuit as the assembler

This commit is contained in:
Yang Liu 2023-12-31 18:09:00 +08:00 committed by Merry
parent a4b9b431b0
commit 4324b262aa
11 changed files with 86 additions and 22 deletions

View file

@ -15,6 +15,14 @@ set(BUILD_TESTING OFF)
# simply add the directory to that file as a subdirectory
# to have CMake automatically recognize them.
# biscuit
if (NOT TARGET biscuit::biscuit)
if ("riscv" IN_LIST ARCHITECTURE)
add_subdirectory(biscuit)
endif()
endif()
# catch
if (NOT TARGET Catch2::Catch2WithMain)

3
externals/README.md vendored
View file

@ -3,6 +3,7 @@ This repository uses subtrees to manage some of its externals.
## Initial setup
```
git remote add externals-biscuit https://github.com/lioncash/biscuit.git --no-tags
git remote add externals-catch https://github.com/catchorg/Catch2.git --no-tags
git remote add externals-fmt https://github.com/fmtlib/fmt.git --no-tags
git remote add externals-mcl https://github.com/merryhime/mcl.git --no-tags
@ -18,6 +19,7 @@ git remote add externals-zydis https://github.com/zyantific/zydis.git --no-tags
Change `<ref>` to refer to the appropriate git reference.
```
git fetch externals-biscuit
git fetch externals-catch
git fetch externals-fmt
git fetch externals-mcl
@ -26,6 +28,7 @@ git fetch externals-robin-map
git fetch externals-xbyak
git fetch externals-zycore
git fetch externals-zydis
git subtree pull --squash --prefix=externals/biscuit externals-biscuit <ref>
git subtree pull --squash --prefix=externals/catch externals-catch <ref>
git subtree pull --squash --prefix=externals/fmt externals-fmt <ref>
git subtree pull --squash --prefix=externals/mcl externals-mcl <ref>