Enable optimized string and math lib in Occlum
This commit is contained in:
parent
d63bfac61c
commit
9504e8f681
@ -53,7 +53,7 @@ RUN wget http://www.etallen.com/cpuid/cpuid-20200211.x86_64.tar.gz && \
|
|||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN git clone -b sgx_2.11_for_occlum https://github.com/occlum/linux-sgx && \
|
RUN git clone -b sgx_2.11_for_occlum https://github.com/occlum/linux-sgx && \
|
||||||
cd linux-sgx && make preparation && \
|
cd linux-sgx && make preparation && \
|
||||||
./compile_and_install.sh no_mitigation && \
|
./compile_and_install.sh no_mitigation USE_OPT_LIBS=2 && \
|
||||||
echo 'source /opt/intel/sgxsdk/environment' >> /root/.bashrc && \
|
echo 'source /opt/intel/sgxsdk/environment' >> /root/.bashrc && \
|
||||||
rm -rf /tmp/linux-sgx
|
rm -rf /tmp/linux-sgx
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ WORKDIR /tmp
|
|||||||
RUN git clone -b sgx_2.11_for_occlum https://github.com/occlum/linux-sgx && \
|
RUN git clone -b sgx_2.11_for_occlum https://github.com/occlum/linux-sgx && \
|
||||||
mkdir /etc/init && \
|
mkdir /etc/init && \
|
||||||
cd linux-sgx && make preparation && \
|
cd linux-sgx && make preparation && \
|
||||||
./compile_and_install.sh no_mitigation && \
|
./compile_and_install.sh no_mitigation USE_OPT_LIBS=2 && \
|
||||||
echo 'source /opt/intel/sgxsdk/environment' >> /root/.bashrc && \
|
echo 'source /opt/intel/sgxsdk/environment' >> /root/.bashrc && \
|
||||||
rm -rf /tmp/linux-sgx
|
rm -rf /tmp/linux-sgx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user