Update build script to enable running tensorflow workload in linux-sgx (#435)
This commit is contained in:
@ -11,7 +11,14 @@ And set up ensdk environment:
|
||||
```bash
|
||||
source emsdk_env.sh
|
||||
```
|
||||
Then run ./build.sh to build tensorflow and run it with iwasm, which basically contains the following steps:
|
||||
Then run
|
||||
```bash
|
||||
./build.sh
|
||||
# for linux platform, or
|
||||
./build.sh --sgx
|
||||
# for linux-sgx platform
|
||||
```
|
||||
to build tensorflow and run it with iwasm, which basically contains the following steps:
|
||||
- hack emcc to delete some objects in libc.a
|
||||
- build tf-lite with emcc compiler
|
||||
- build iwasm with pthread enable and include libiary under libc-emcc
|
||||
|
||||
Reference in New Issue
Block a user