Skip to content

cmake: tidy up syntax, minor improvements - #1446

Closed
vszakats wants to merge 31 commits into
libssh2:masterfrom
vszakats:cm-syntax-tidyup
Closed

vszakats wants to merge 31 commits into
libssh2:masterfrom
vszakats:cm-syntax-tidyup

Conversation

@vszakats

@vszakats vszakats commented Aug 19, 2024 •

Copy link
Copy Markdown
Member
  • make internal variables underscore-lowercase.
  • unfold lines.
  • fold lines setting header directories.
  • fix indent.
  • drop interim variable EXAMPLES.
  • initialize some variables before populating them.
  • clear a variable after use.
  • add libssh2_dumpvars() function for debugging.
  • allow to override default CMAKE_UNITY_BUILD_BATCH_SIZE.
  • bump up default CMAKE_UNITY_BUILD_BATCH_SIZE to 0 (was 32).
  • tidy up option descriptions.

Closes #1446

@vszakats vszakats added the build label Aug 19, 2024
@vszakats vszakats changed the title cmake: tidy up syntax more cmake: tidy up syntax and minor improvements Sep 7, 2024
@vszakats vszakats changed the title cmake: tidy up syntax and minor improvements cmake: tidy up syntax, minor improvements Sep 7, 2024
@vszakats vszakats closed this in 9d9ee78 Sep 7, 2024
@vszakats
vszakats deleted the cm-syntax-tidyup branch September 7, 2024 19:29
@vszakats

vszakats commented Sep 7, 2024

Copy link
Copy Markdown
Member Author

AppVeyor CI fails waiting for the SSH connection. Fails with a 10m timeout:
https://ci.appveyor.com/project/libssh2org/libssh2/builds/50556687/job/qdr1jvjy102mabbq#L336

Matching GHA job keeps waiting too:
https://github.com/libssh2/libssh2/actions/runs/10753799350/job/29823654559

Something similar started happening a few weeks/months ago. Bumping timeout from 3 to 5 minutes fixed it, but only for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant