Skip to content
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

row counter #3

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# remove once teaclave has moved to Rust v1.68,
# which stabilizes "sparse" protocol
registries.crates-io.protocol = "git"

# does not play well with sccache,
# perhaps due to using a much different compiler version
build.rustc-wrapper = ""
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
**/build
**/bin
**/enclave/target
**/app/target
**/app/.python-version
Expand Down
10 changes: 10 additions & 0 deletions utils/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
app/Enclave_u.c
app/Enclave_u.h
enclave/Enclave_private.pem
enclave/Enclave_public.pem
enclave/Enclave_t.c
enclave/Enclave_t.h
lib/libEnclave_u.a
lib/libenclave.a
obj/Enclave_t.o
obj/Enclave_u.o
46 changes: 46 additions & 0 deletions utils/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Dummy makefile, will call the host and enclave makefile when requested.

SRC_U = app/
SRC_T = enclave/

# Compilation process, will call the appropriate makefiles.

all: host enclave

host:
@echo "\033[32mRequest to compile the host part...\033[0m"
@make -C $(SRC_U)

enclave:
@echo "\033[32mRequest to compile the enclave part...\033[0m"
@make -C $(SRC_T)

clean:
@make -C $(SRC_U) clean
@make -C $(SRC_T) clean

fclean:
@make -C $(SRC_U) fclean
@make -C $(SRC_T) fclean

clean_host:
@make -C $(SRC_U) clean

clean_enclave:
@make -C $(SRC_T) clean

fclean_host:
@make -C $(SRC_U) fclean

fclean_enclave:
@make -C $(SRC_T) fclean

re_host: fclean_host host

re_enclave: fclean_enclave enclave

re: fclean all

# Dummy rules to let make know that those rules are not files.

.PHONY: host enclave clean clean_host clean_enclave fclean_host fclean_enclave fclean re re_host re_enclave
325 changes: 325 additions & 0 deletions utils/app/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading