-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DO NOT MERGE] Compile using Xahau Repo #32
base: master
Are you sure you want to change the base?
Conversation
|
||
if [ -d /app/clang/includes ] | ||
then | ||
rm /app/clang/includes/*.h | ||
else | ||
mkdir -p /app/clang/includes | ||
fi | ||
cp clang/includes/*.h /app/clang/includes | ||
cp clang/include/hook/*.h /app/clang/includes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cp clang/include/hook/*.h /app/clang/includes | |
cp clang/includes/hook/*.h /app/clang/includes |
@@ -56,7 +56,7 @@ unzip bin.zip | |||
``` | |||
|
|||
- CD to docker folder `cd docker` | |||
- Run `make c2wasm-api && make clangd && make wasi-sdk && make hook-cleaner` | |||
- Run `make c2wasm-api && make clangd && make wasi-sdk && make hook-cleaner && make c2wasm-api/clang/includes/src/ripple/app/hook` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This executes the next Makefile, but this compilation is dependent on the local environment. This is useless if the local and container architectures are different.
c2wasm-api/clang/includes/src/ripple/app/hook/
guard_checker: guard_checker.cpp Guard.h Enum.h
g++ -o guard_checker guard_checker.cpp --std=c++17 -g
install: guard_checker
cp guard_checker /usr/bin/
This PR makes the hooks-compiler use the xahaud repo for building the hooks. This means that it will use the macros and the guard checker inside the xahaud repo.