1. Disable zlib _explictly_ when building libcurl in remote attestaion demo. The reason for this is that zlib may be implictly linked by the build system of libcurl but not the zlib library is not copied into the Occlum FS image. 2. Use `make -j$(nproc)` 3. Fix typos
17 lines
200 B
Bash
Executable File
17 lines
200 B
Bash
Executable File
#!/bin/sh
|
|
|
|
INSTALL_DIR=/usr/local/occlum/x86_64-linux-musl
|
|
|
|
export PATH=$PATH:$INSTALL_DIR/bin
|
|
|
|
cd server
|
|
|
|
make -j$(nproc)
|
|
if [ $? -ne 0 ]
|
|
then
|
|
echo "demo make failed"
|
|
exit 1
|
|
fi
|
|
|
|
./greeter_server
|