Skip to content
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

crypto: do not create empty.c anymore #996

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

chipitsine
Copy link
Contributor

No description provided.

@botovq
Copy link
Contributor

botovq commented Feb 2, 2024 via email

@chipitsine chipitsine marked this pull request as draft February 2, 2024 08:34
@busterb
Copy link
Contributor

busterb commented Feb 12, 2024

This was originally a workaround to creating static libraries with XCode. See here: #776

Probably worth revisiting the issue.

@chipitsine
Copy link
Contributor Author

chipitsine commented Feb 12, 2024 via email

@chipitsine
Copy link
Contributor Author

the idea of removing empty.c is to get rid of those warnings

https://github.com/libressl/portable/actions/runs/7869794632/job/21469627057#step:6:29

and once we'll be able to switch windows builds to "all warning are errors"

but there's no rush

@busterb
Copy link
Contributor

busterb commented Feb 27, 2024

Sounds like what we need to do here next is verify if this is still needed for Xcode static builds. If it is, either find another solution, or guard it for that specific case.

@chipitsine
Copy link
Contributor Author

chipitsine commented Feb 27, 2024 via email

@chipitsine
Copy link
Contributor Author

I reviewed #776
it introduces "dummy.c", changes were reverted lately. currently that file is not used.

I think we can manipulate with empty.c removal without taking that into account.

also, I did not find any repro step how to build "iOS static build with XCode generator", it might be good to add such a build to CI/CD

@chipitsine
Copy link
Contributor Author

well. there's no rush.
I'll try to find out what is "xcode ios cmake...."

@busterb
Copy link
Contributor

busterb commented Mar 18, 2024

Verified that Xcode still has trouble generating static libraries with the default CMake build if empty.c is removed. Here's what results:

image

@chipitsine
Copy link
Contributor Author

chipitsine commented Mar 18, 2024 via email

@chipitsine
Copy link
Contributor Author

as far as I understand, it makes sense to add such "iphone static xcode" builds to CI first to be able to catch regressions

@busterb
Copy link
Contributor

busterb commented Mar 18, 2024 via email

@chipitsine
Copy link
Contributor Author

chipitsine commented Mar 19, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants