-
Notifications
You must be signed in to change notification settings - Fork 7.1k
[boringssl] Add new port #8455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[boringssl] Add new port #8455
Conversation
I have no idea how to deal with those specific failed builds (except UWP - that's expected). |
We need to install go on the ci machines. Or |
/azp run |
@vicroms I don't mean to be rude, but it's unclear to me if there are any actions on my part that must be taken. If there is no interest in boringssl, it's perfectly fine to close this PR. :) |
/azp run |
/azp run |
@qis Currently, this port build failed on arm with the error as below:
Does this port support arm triplet? |
@LilyWangL Strange, I specifically added Not sure about ARM support on Windows. It does support ARM on Android. |
/azp run |
Since BoringSSL is a fork of OpenSSL, we might get ODR violations, so we might have to add |
@dan-shaw Good call. I've changed it to use the same lines as libressl in |
@NancyLi1013 Is there a tutorial on how to write ports? I like and will do the changes, but since the usual approach is to grep existing ports for what you need, it results in sub-optimal PRs. In the current vcpkg source tree, there are:
This is not meant as criticism. I understand how things work and evolve. It's just a suggestion. |
Hi @qis We will try to update them later. Thanks for your understand and support again. |
@NancyLi1013 Thanks, that's a good article, but one thing is missing. After applying the requested changes, I found out that I solved the problem by installing executables directly into Is this the correct? What about ports, where you cannot easily change the executable install directory? Is the following solution better?
P.S.: I tested it with x64-windows, x64-windows-static and x64-linux. Could somebody check if it actually works on OSX (since the CI won't do that now). |
@qis I believe you can do |
@NancyLi1013 But that's already covered by the |
@qis Need to test the feature now. |
The feature has been tested passed with the following triplets:
@qis |
Since I finally came around setting up my repaired MacBook Pro (Mid 2012), here is an update:
Tested locally on Windows 10 with VS2019 16.5.3:
Tested locally on Ubuntu 18.04.4 LTS with GCC 7.5.0 and GCC 9.2.1:
Tested locally on OSX 10.15.3 and Apple Clang 11.0.3:
I will push a restored |
Do these Linux CI and OSX CI logs mean that the CI is broken? The Windows CI logs look good. The |
Do I still need to change anything, or is everything in order? |
@qis |
[boringssl] Add new port (microsoft#8455)
This is a new port for BoringSSL. As explained in #8084 (comment), there are several issues I see with it:
CMAKE_C_FLAGS
andCMAKE_CXX_FLAGS
variables set by a MSVC toolchains.CMakeLists.txt
is patched to honor flags set by a toolchain,/EH
flags break compilation./EH
flags issues.It may be useful to people targeting Windows Desktop, Linux and possibly OSX who stick with the supported build system options.
It may be a good idea to patch out the tests as a workaround for the poorly designed
CMakeLists.txt
, or make tests optional.