You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by GitBox <gi...@apache.org> on 2022/03/24 11:58:21 UTC

[GitHub] [incubator-teaclave-trustzone-sdk] DemesneGH commented on issue #66: Clean TA build environment

DemesneGH commented on issue #66:
URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/66#issuecomment-1077550241


   Hi @syedelec 
   
   Thanks for your advice.
   
   
   > * avoid patching rust-lang, compiler-builtins and libc?
   > * use latest rust toolchains
   
   The patching of rust-lang and other submodules are necessary for building TAs running on OP-TEE OS. In addition, the other solution is to release these dependencies as prebuilt libraries. But AFAIK Rust and cargo don't support the pre-built libraries yet.
   
   
   > * use pre-built optee libutee.a/libutils.a and libteec.so libraries (to avoid pull optee os/client)
   
   The OP-TEE libraries(for building TA,aka ta_dev_kit) are built when building OP-TEE OS. If you have already built OP-TEE OS, you can avoid building the OP-TEE libraries using `export OPTEE_DIR=[YOUR_OPTEE_DIR]`, see the instructions [here](https://github.com/apache/incubator-teaclave-trustzone-sdk#use-op-tee-libraries-as-submodules).


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@teaclave.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@teaclave.apache.org
For additional commands, e-mail: dev-help@teaclave.apache.org