20 releases (9 breaking)

0.10.1 Dec 11, 2023
0.9.0 Oct 19, 2023
0.7.2 Jul 20, 2023
0.5.0 Mar 8, 2023
0.3.0 Oct 20, 2022

#371 in Development tools

Download history 770/week @ 2023-10-28 598/week @ 2023-11-04 803/week @ 2023-11-11 599/week @ 2023-11-18 635/week @ 2023-11-25 1062/week @ 2023-12-02 1277/week @ 2023-12-09 305/week @ 2023-12-16 219/week @ 2023-12-23 1253/week @ 2023-12-30 952/week @ 2024-01-06 630/week @ 2024-01-13 543/week @ 2024-01-20 589/week @ 2024-01-27 713/week @ 2024-02-03 793/week @ 2024-02-10

2,696 downloads per month
Used in 38 crates (19 directly)

Apache-2.0

93KB
210 lines

MobileCoin SGX: Build Utilities

Project ChatLicenseTargetCrates.ioDocs StatusDependency Status

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:

    1. The location of the SGX SDK headers.

      Note: the DCAP headers are assumed to be in the default system include path

    2. The location of the SGX SDK libraries for linking

    When SGX_SDK is not set:

    1. The vendored local directory headers/ will be used for compile time includes
    2. /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
~137K SLoC