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

fix: resolved feature flags for openssl vendoring #3287

Merged
merged 2 commits into from
Sep 22, 2021

Conversation

StriderDM
Copy link
Contributor

@StriderDM StriderDM commented Sep 2, 2021

Description

Include vendored openssl library when not building ffi wallet library.
Exclude vendored openssl library when building ffi wallet library as it needs to be cross compiled for mobile which is done in mobile_build.sh.

Merge #3285 first.

We had to do the same for sqlite here:
#3073

Motivation and Context

Current:
Screen Shot 2021-09-06 at 6 30 17 PM

This PR:
Screen Shot 2021-09-06 at 8 06 48 PM

mobile_build_logs.zip

How Has This Been Tested?

cargo test --all --all-features
nvm use v12.22.6 && ./node_modules/.bin/cucumber-js features/WalletFFI.feature
sh mobile_build.sh

@stringhandler
Copy link
Collaborator

Please create as a standalone pr, it's too difficult to review with the changes in 3285

@StriderDM
Copy link
Contributor Author

@mikethetike Will re-base when 3285 merges. Have re-based 3285 already after 3275 merged.

@stringhandler
Copy link
Collaborator

Why not cherry pick it onto a new branch then it can be reviewed now?

@StriderDM
Copy link
Contributor Author

Have attached build logs. Will cherry pick the commit shortly.

@StriderDM
Copy link
Contributor Author

@mikethetike Cherry picking done. :)

Include vendored openssl library when not building ffi wallet library.
Exclude vendored openssl library when building ffi wallet library as it needs to be cross compiled for mobile.
Restored packages to ci.yml.

(cherry picked from commit 364e4b1)

Update ci.yml
stringhandler
stringhandler previously approved these changes Sep 17, 2021
@aviator-app aviator-app bot merged commit 30343d4 into tari-project:development Sep 22, 2021
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

2 participants