You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/10/24 12:19:25 UTC

[GitHub] [incubator-teaclave] gaojunjie03 opened a new issue #427: builtin function question

gaojunjie03 opened a new issue #427:
URL: https://github.com/apache/incubator-teaclave/issues/427


   I added a built-in function that requires a third-party library, but I reported an error when compiling.
   
   ![image](https://user-images.githubusercontent.com/30582212/97081619-1e759700-1636-11eb-9aaf-c43a7ca24f76.png)
   
   This bag is in https://crates.io/ It exists


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



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


[GitHub] [incubator-teaclave] mssun commented on issue #427: builtin function question

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #427:
URL: https://github.com/apache/incubator-teaclave/issues/427#issuecomment-716179664


   Thanks for your suggestion. We will definitely document it when we find out a good workflow for working on third-party SGX crates. Before this, you have to understand our build system in order to include more SGX libraries.


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



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


[GitHub] [incubator-teaclave] gaojunjie03 commented on issue #427: builtin function question

Posted by GitBox <gi...@apache.org>.
gaojunjie03 commented on issue #427:
URL: https://github.com/apache/incubator-teaclave/issues/427#issuecomment-716074316


   > In short, you cannot use third-party Rust crates which are not in the `third_party/crates-sgx` directory.
   > 
   > For your case, if you want to use ndarray, you need to vendor ndarray-sgx (https://github.com/mesalock-linux/ndarray-sgx) in the `crates-sgx` directory.
   
   ok i'll try.
   Can you provide a document on how to add a third-party library to crates-sgx, because I may need other third-party libraries in the future, which are not available in crates-sgx.


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



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


[GitHub] [incubator-teaclave] mssun commented on issue #427: builtin function question

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #427:
URL: https://github.com/apache/incubator-teaclave/issues/427#issuecomment-716068686


   In short, you cannot use third-party Rust crates which are not in the `third_party/crates-sgx` directory.
   
   For your case, if you want to use ndarray, you need to vendor ndarray-sgx (https://github.com/mesalock-linux/ndarray-sgx) in the `crates-sgx` directory.


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



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