Skip to content

[civetweb] download instead of bundle, bump from 1.15 to 1.16, and define proper CMake target#21947

Open
ferdymercury wants to merge 42 commits intoroot-project:masterfrom
ferdymercury:bcivet
Open

[civetweb] download instead of bundle, bump from 1.15 to 1.16, and define proper CMake target#21947
ferdymercury wants to merge 42 commits intoroot-project:masterfrom
ferdymercury:bcivet

Conversation

@ferdymercury
Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 17, 2026

Test Results

    22 files      22 suites   3d 13h 0m 11s ⏱️
 3 849 tests  3 846 ✅  1 💤 2 ❌
76 886 runs  76 862 ✅ 18 💤 6 ❌

For more details on these failures, see this check.

Results for commit be0cde1.

♻️ This comment has been updated with latest results.

@dpiparo dpiparo self-assigned this Apr 19, 2026
@ferdymercury ferdymercury marked this pull request as ready for review April 20, 2026 13:18
Comment thread net/http/CMakeLists.txt
${FASTCGI_LIBRARY}
${CMAKE_DL_LIBS}
civetweb::civetweb
DEPENDENCIES
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TO-DO: discuss if builtin_civetweb=OFF should be discouraged, by emitting a warning or better describing ROotBuildOptions text.

See discussion root-project/root-ci-images#110 (comment)

@ferdymercury ferdymercury added the skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff. label Apr 21, 2026
@ferdymercury
Copy link
Copy Markdown
Collaborator Author

@linev for Fedora we'd need root-project/root-ci-images#111

endif()
endif()
if (NOT builtin_civetweb)
target_compile_definitions(civetweb::civetweb INTERFACE _EXTERNAL_CIVETWEB) # temporary hack for: with external civetweb one gets failure R__memcompress
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TO-DO investigate

Comment thread cmake/modules/SearchInstalledSoftware.cmake Outdated
Comment thread builtins/civetweb/CMakeLists.txt Outdated
@ferdymercury
Copy link
Copy Markdown
Collaborator Author

ferdymercury commented Apr 21, 2026

@linev do you have a Mac where you could try out this PR ?

It's the only platform failing, with error:

fatal error: 'openssl/bn.h' file not found

Could you run locate bn.h to see if it exists.
If it does, then printing out what what the value of OPENSSL_INCLUDE_DIR is
If it doesn't maybe there is an option for builtin_openssl to install that header?

Comment thread builtins/openssl/CMakeLists.txt Outdated
@ferdymercury ferdymercury added the clean build Ask CI to do non-incremental build on PR label Apr 22, 2026
@ferdymercury ferdymercury reopened this Apr 22, 2026
@ferdymercury ferdymercury removed the clean build Ask CI to do non-incremental build on PR label Apr 22, 2026
ferdymercury added a commit to ferdymercury/root that referenced this pull request Apr 23, 2026
Compilation with builtin_openssl probably just worked fine because it picked system-wide openssl headers rather than the builtin ones.

Found out while investigating failures in root-project#21947
@ferdymercury
Copy link
Copy Markdown
Collaborator Author

Finally! Compilation failures on Mac solved, now builds on all platforms.
I guess this PR should be preceded by #22026

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

Labels

skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants