Fix embedded mode demo can't find libraries
This commit is contained in:
parent
66e5cefec2
commit
153a6fcd61
@ -11,7 +11,6 @@ occlum_instance: build_src
|
|||||||
occlum init && \
|
occlum init && \
|
||||||
cp ../trusted_memcpy_bench/build/trusted_memcpy_bench image/bin/ && \
|
cp ../trusted_memcpy_bench/build/trusted_memcpy_bench image/bin/ && \
|
||||||
occlum build
|
occlum build
|
||||||
@cp -r occlum_instance/.occlum .occlum
|
|
||||||
|
|
||||||
build_src:
|
build_src:
|
||||||
@$(MAKE) --no-print-directory -C trusted_memcpy_bench
|
@$(MAKE) --no-print-directory -C trusted_memcpy_bench
|
||||||
@ -19,8 +18,8 @@ build_src:
|
|||||||
|
|
||||||
TOTAL_BYTES := 10000000000 # 10GB
|
TOTAL_BYTES := 10000000000 # 10GB
|
||||||
test:
|
test:
|
||||||
LD_LIBRARY_PATH=bench_driver/build:$(SGX_SDK)/sdk_libs RUST_BACKTRACE=1 \
|
cd occlum_instance && LD_LIBRARY_PATH=../bench_driver/build:$(SGX_SDK)/sdk_libs RUST_BACKTRACE=1 \
|
||||||
./bench_driver/build/bench_driver $(TOTAL_BYTES)
|
../bench_driver/build/bench_driver $(TOTAL_BYTES)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@$(MAKE) --no-print-directory -C trusted_memcpy_bench clean
|
@$(MAKE) --no-print-directory -C trusted_memcpy_bench clean
|
||||||
|
Loading…
Reference in New Issue
Block a user