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

#482 in Development tools

Download history 1178/week @ 2024-01-01 833/week @ 2024-01-08 482/week @ 2024-01-15 496/week @ 2024-01-22 477/week @ 2024-01-29 691/week @ 2024-02-05 612/week @ 2024-02-12 707/week @ 2024-02-19 640/week @ 2024-02-26 397/week @ 2024-03-04 425/week @ 2024-03-11 749/week @ 2024-03-18 492/week @ 2024-03-25 1607/week @ 2024-04-01 415/week @ 2024-04-08 668/week @ 2024-04-15

3,196 downloads per month
Used in 38 crates (19 directly)

Apache-2.0

94KB
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
~135K SLoC