secretflow / yacl

YACL (Yet Another Common crypto library) is a C++ library that contains cryptography, network and io modules which other SecretFlow code depends on.
Apache License 2.0
73 stars 61 forks source link

关于yacl编译后的安装问题。 #342

Closed ShallMate closed 3 months ago

ShallMate commented 3 months ago

我按文档中说的方法成功build了yacl(build的命令用的:bazel build --linkopt=-ldl //... -c opt)。但是我没有找到install到本地的方法。当然不用install也能使用,但是由于我以前没有用过bazel,我不知道如何在vscode中配置bazel编译的project。现在我的vscode打开已经编译好的yacl仍然会有提示错误,所以我想解决这个问题。要么是能install到本地,要么是能否告诉我在vscode中配置yacl的方法?

ps. 我使用bazel test //...发现大概40多个test不能通过测试。然后我将test命令又改为了:bazel test --linkopt=-ldl //... 这样只有1个test没有通过测试。具体是 [ FAILED ] 2 tests, listed below: [ FAILED ] BrpcLinkSSLTest.OneWaySSL [ FAILED ] BrpcLinkSSLTest.TwoWaySSL 这应该不会影响我后续的使用吧?