-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from benlaurie/master
Step by step building instructions. See also: http://docs.keystone-enclave.org/en/dev/
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
% cd .. | ||
% git clone https://github.com/jedisct1/libsodium.git libsodium-server | ||
% cd libsodium-server | ||
% patch -p1 < ../keystone-demo/sodium_patches/configure.ac.patch | ||
% ./autogen.soh | ||
% ./configure --host=riscv64-unknown-linux-gnu --disable-ssp --disable-asm --without-pthreads | ||
% make | ||
% cd .. | ||
% git clone https://github.com/jedisct1/libsodium.git libsodium-client | ||
% cd libsodium-client | ||
% ./autogen.sh | ||
% ./configure --host=riscv64-unknown-linux-gnu --disable-ssp --disable-asm --without-pthreads | ||
% cd ../keystone-demo | ||
% KEYSTONE_SDK_DIR=`pwd`/../keystone/sdk LIBSODIUM_DIR=`pwd`/../libsodium-server/src/libsodium LIBSODIUM_CLIENT_DIR=`pwd`/../libsodium-client/src/libsodium make | ||
% KEYSTONE_SDK_DIR=`pwd`/../keystone/sdk LIBSODIUM_DIR=`pwd`/../libsodium-server/src/libsodium LIBSODIUM_CLIENT_DIR=`pwd`/../libsodium-client/src/libsodium make trusted_client.riscv |