8 releases (4 breaking)

0.5.0 Mar 8, 2023
0.4.2 Feb 10, 2023
0.4.1 Jan 30, 2023
0.4.0 Dec 14, 2022
0.1.0 Aug 18, 2022

#234 in Development tools

Download history 157/week @ 2022-11-27 76/week @ 2022-12-04 377/week @ 2022-12-11 135/week @ 2022-12-18 77/week @ 2022-12-25 236/week @ 2023-01-01 560/week @ 2023-01-08 86/week @ 2023-01-15 380/week @ 2023-01-22 527/week @ 2023-01-29 173/week @ 2023-02-05 119/week @ 2023-02-12 350/week @ 2023-02-19 1196/week @ 2023-02-26 1008/week @ 2023-03-05 369/week @ 2023-03-12

2,937 downloads per month
Used in 37 crates (19 directly)

Apache-2.0

87KB
176 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

~4.5MB
~108K SLoC