cfe-4401: Improvements to Termux build#6125
Draft
craigcomstock wants to merge 13 commits into
Draft
Conversation
Android/Termux doesn't have pthread_cancel so use pthred_kill instead Ticket: CFE-4401 Changelog: title
…VE_PTHREAD_CANCEL instead of __ANDROID__ https://github.com/termux/termux-packages/blob/master/packages/cfengine/pthread_cancel.patch Ticket: CFE-4401 Changelog: none
Ticket: none Changelog: none
… termux android platform, probably find an alternative or disable in Makefile.am instead
…mpilation in Termux environment Ticket: CFE-4401 Changelog: title
AC_CHECK_FUNCS apparently doesn't take into account the __ANDROID_API__ level properly and so incorrectly determines that copy_file_range is available for termux at API 24 but copy_file_range is <= 34. Ticket: none Changelog: none
We already supported and included the termux class. This change removes noise when running components like cf-agent. Ticket: CFE-4427 Changelog: title
Ticket: none Changelog: none
Ticket: none Changelog: none
The re-entrant versions of srand() and friends aren't technically required and not using them enables compilation on platforms without glibc. Ticket: none Changelog: none
Ticket: none Changelog: none
To include MaskTerminationSignalsThread() function now merged there which is required by commits in this pull request. Ticket: CFE-4401 Changelog: none
…gures Ticket: none Changelog: none
27a524c to
aee4d94
Compare
Contributor
Author
|
@cf-bottom jenkins |
|
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/13768/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-13768/ |
Contributor
Author
|
I see there is trouble in building for windows. I will work on a fix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.