Enable optimized string and math lib in Occlum

This commit is contained in:
zongmin.gu 2020-11-16 17:38:32 +08:00 committed by Tate, Hongliang Tian
parent d63bfac61c
commit 9504e8f681
2 changed files with 2 additions and 2 deletions

@ -53,7 +53,7 @@ RUN wget http://www.etallen.com/cpuid/cpuid-20200211.x86_64.tar.gz && \
WORKDIR /tmp
RUN git clone -b sgx_2.11_for_occlum https://github.com/occlum/linux-sgx && \
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 && \
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 && \
mkdir /etc/init && \
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 && \
rm -rf /tmp/linux-sgx