mc-sgx-core-build

Crates.iomc-sgx-core-build
lib.rsmc-sgx-core-build
version0.11.0
sourcesrc
created_at2022-08-18 21:08:48.474298
updated_at2024-03-22 19:49:54.192389
descriptionBuild Helpers for SGX FFI Crates
homepage
repositoryhttps://github.com/mobilecoinfoundation/sgx
max_upload_size
id648334
size519,498
Bernie Dolan (dolanbernard)

documentation

README

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

Commit count: 1096

cargo fmt