You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/07/15 18:15:27 UTC

[GitHub] [incubator-tvm] nhynes commented on issue #6045: Rust SGX Example App Compilation Problem

nhynes commented on issue #6045:
URL: https://github.com/apache/incubator-tvm/issues/6045#issuecomment-658923069


   odd. builds fine for me. I just pulled and built:
   
   ```
   % rustup show
   Default host: x86_64-unknown-linux-gnu
   rustup home:  /oasis/.rustup
   
   installed toolchains
   --------------------
   
   nightly-x86_64-unknown-linux-gnu (default)
   
   installed targets for active toolchain
   --------------------------------------
   
   wasm32-wasi
   x86_64-fortanix-unknown-sgx
   x86_64-unknown-linux-gnu
   
   active toolchain
   ----------------
   
   nightly-x86_64-unknown-linux-gnu (default)
   rustc 1.46.0-nightly (346aec9b0 2020-07-11)
   ```
   I'm sure you can use an older nightly (but it has to be a nightly)
   
   ```
   cd ~/incubator-tvm
   mkdir build && cd build
   cmake .. -DCMAKE_C_COMPILER=clang-9 -DCMAKE_CXX_COMPILER=clang++-9 -DUSE_LLVM=llvm-config-9
   make -j8
   ```
   then
   ```
   cd ~/incubator-tvm/apps/sgx
   cargo build
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org