21 releases (10 breaking)
0.11.0 | Mar 22, 2024 |
---|---|
0.10.1 | Dec 11, 2023 |
0.9.0 | Oct 19, 2023 |
0.7.2 | Jul 20, 2023 |
0.3.0 | Oct 20, 2022 |
#655 in Development tools
1,530 downloads per month
Used in 45 crates
(19 directly)
94KB
210 lines
MobileCoin SGX: Build Utilities
Utilities for compiling FFI wrappers to SGX libraries.
Environment Variables
Below are environment variables that affect the building of the SGX FFI wrappers.
-
SGX_SDK
The path to the Intel SGX SDK. Provides:-
The location of the SGX SDK headers.
Note: the DCAP headers are assumed to be in the default system include path
-
The location of the SGX SDK libraries for linking
When
SGX_SDK
is not set:- The vendored local directory
headers/
will be used for compile time includes /opt/intel/sgxsdk
will be used as the linking directory for SGX SDK libraries
-
-
CFLAGS
- Used when generating the rust bindings. Useful to specify system include paths. Multiple arguments can be separated with whitespace. This does not support escaped whitespace as specified in https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
Dependencies
~5.5–7.5MB
~136K SLoC