SKALE-1850 build improvements

parent 40d9fe66
...@@ -31,7 +31,7 @@ To build and run **sgxd**, you'll need **Intel SGX** capable hardware. Most Inte ...@@ -31,7 +31,7 @@ To build and run **sgxd**, you'll need **Intel SGX** capable hardware. Most Inte
To enable SGX using a software utility: To enable SGX using a software utility:
- Build `sgx-enable` utility by typing `cd sgx-software-enable; make` - Build `sgx-enable` utility by typing `cd sgx-software-enable; make`
- Run `./sgx-enable`. Verify that it says that **SGX** is successfully enabled - Run `./sgx_enable`. Verify that it says that **SGX** is successfully enabled
## Install SGX driver ## Install SGX driver
......
...@@ -23,11 +23,10 @@ RUN git clone -b sgx_2.5 --depth 1 https://github.com/intel/linux-sgx && \ ...@@ -23,11 +23,10 @@ RUN git clone -b sgx_2.5 --depth 1 https://github.com/intel/linux-sgx && \
# For debug purposes # For debug purposes
# COPY jhi.conf /etc/jhi/jhi.conf # COPY jhi.conf /etc/jhi/jhi.conf
RUN git clone --recurse-submodules https://76b7983ebf14269178b99eff5b2be4b4b56fe7a5:@github.com/skalenetwork/sgxwallet.git ###RUN git clone --recurse-submodules https://76b7983ebf14269178b99eff5b2be4b4b56fe7a5:@github.com/skalenetwork/sgxwallet.git
#RUN git clone --recurse-submodules https://github.com/skalenetwork/sgxwallet.git RUN git clone --recurse-submodules --single-branch --branch feature/SKALE-1850-remove-extra-dependencies-from-SGX https://76b7983ebf14269178b99eff5b2be4b4b56fe7a5:@github.com/skalenetwork/sgxwallet.git
WORKDIR sgxwallet WORKDIR sgxwallet
#RUN git checkout feature/SKALE-1850-remove-extra-dependencies-from-SGX RUN cd sgx-software-enable && make && ./sgx_enable
#RUN git submodule update --init --recursive
RUN cd scripts; ./build.py RUN cd scripts; ./build.py
### RUN autoreconf -vif ### RUN autoreconf -vif
### RUN automake ### RUN automake
......
#!/bin/bash #!/bin/bash
sudo service docker start sudo service docker start
#sudo docker build --no-cache -t sgxcontainer .
sudo docker build -t sgxcontainer . sudo docker build -t sgxcontainer .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment