- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
when I executed "make" for a SGX program, it came error that -lsgx_dnnl is missing, may I ask how should I configure and download sgx_dnnl? I attach the error report screenshot. Thank you!
Best Regards,
Jin Xin
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello MoonHasSevenColor,
Thanks for reaching out to us.
Let me check with relevant team and I'll update you at the earliest.
Regards,
Wan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello MoonHasSevenColor,
Thanks for your patience.
To build the Intel® SGX DNNL library, follow the steps below:
1. Download Intel® SGX source codes.
2. Enter linux-trunk/external/dnnl/
3. Execute make command. The Makefile will download Intel® DNNL V1.1.1 source codes and patch the Intel® SGX-specific patch automatically.
To install Intel® SGX DNNL library, follow the steps below:
1. Copy Intel® SGX DNNL lib to the Intel® SGX SDK installation directory. $cp "./sgx_dnnl/lib/libsgx_dnnl.a" "$(SGX_SDK) /lib64"
2. Copy Intel® SGX DNNL header file to the Intel® SGX SDK installation directory. $cp "./sgx_dnnl/include/*" "$(SGX_SDK)/include"
To enable Intel® SGX DNNL in Enclave, do the following:
1. On Intel® SGX1 platform, set to 1 in the Enclave Configuration File.
2. Add "-lsgx_pthread -lsgx_omp -lsgx_dnnl" into enclave linking options in Makefile.
Please refer to SGX Intel Developer Guide for Linux for more information: https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Developer_Reference_Linux_2.20_Open_Source.pdf
This sample in the SGX SDK is also helpful: https://github.com/intel/linux-sgx/tree/master/SampleCode/SampleDNNL
Regards,
Wan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello MoonHasSevenColor,
Thanks for your question.
If you need additional information from Intel, please submit a new question as this thread will no longer be monitored.
Regards,
Wan
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page