The package was adopted to the official repository. The CMake target is not exported. I opened an issue, https://gitlab.archlinux.org/archlinux/packaging/packages/cpp-httplib/-/work_items/1. Support would be appreciated.
Search Criteria
Package Details: cpp-httplib-compiled 0.50.1-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/cpp-httplib-compiled.git (read-only, click to copy) |
|---|---|
| Package Base: | cpp-httplib-compiled |
| Description: | A C++ HTTP/HTTPS server and client library (compiled version) |
| Upstream URL: | https://github.com/yhirose/cpp-httplib |
| Keywords: | networking requests |
| Licenses: | MIT |
| Conflicts: | cpp-httplib |
| Provides: | cpp-httplib, libcpp-httplib.so |
| Submitter: | sum01 |
| Maintainer: | sum01 |
| Last Packager: | sum01 |
| Votes: | 3 |
| Popularity: | 0.000000 |
| First Submitted: | 2020-05-29 03:12 (UTC) |
| Last Updated: | 2026-07-12 18:04 (UTC) |
Dependencies (8)
- brotli (brotli-gitAUR)
- openssl (openssl-gitAUR, openssl-aegisAUR, openssl-staticAUR)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- zstd (zstd-gitAUR, zstd-staticAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-gitAUR) (make)
- python (make)
- gtest (googletest-gitAUR) (check)
Required by (12)
- data-vantage (requires cpp-httplib) (make)
- dpitunnel (requires cpp-httplib) (make)
- dpitunnel-git (requires cpp-httplib) (make)
- eden-beta (requires cpp-httplib) (make)
- eden-git (requires cpp-httplib)
- eden-mp4fixes (requires cpp-httplib) (make)
- eden-nightly (requires cpp-httplib) (make)
- elfeed2 (requires cpp-httplib) (make)
- falco (requires cpp-httplib) (make)
- falco-git (requires cpp-httplib)
- falco-probe-ebpf (requires cpp-httplib) (make)
- neobox-git (requires cpp-httplib)
Sources (1)
Spixmaster commented on 2026-06-28 08:46 (UTC)
Glorious7060 commented on 2026-06-21 17:57 (UTC)
A test failed 99% tests passed, 1 tests failed out of 724
Total Test time (real) = 1353.92 sec
The following tests did not run: 45 - ParseAcceptHeaderTest.QualityValueLocaleIndependence (Skipped) 82 - GetAddrInfoAsyncCancelTest.DirectCallSingleThread (Skipped) 83 - GetAddrInfoAsyncCancelTest.DirectCallMultiThread (Skipped) 84 - GetAddrInfoAsyncCancelTest.ClientGetMultiThread (Skipped)
The following tests FAILED: 80 - RangeTest.FromHTTPBin_Online (Failed)
Spixmaster commented on 2026-02-13 12:33 (UTC)
Can you run the tests? cpp-httplib-git does it too.
sum01 commented on 2026-02-06 04:19 (UTC)
@Spixmaster I will once it's in a tagged release.
Spixmaster commented on 2026-02-02 18:06 (UTC)
Can you apply HTTPLIB_BUILD_MODULES=ON in CMake, https://github.com/yhirose/cpp-httplib/pull/2291 ?
sum01 commented on 2024-06-12 04:06 (UTC)
Sorry for any dependencies, but upstream namechanged the solib to libcpp-httplib.so (see https://github.com/yhirose/cpp-httplib/issues/1851)
sum01 commented on 2022-03-17 17:49 (UTC)
I looked into making it a split package, but since the header-only and compiled versions aren't using the same build I'm not sure it's worth doing. As far as I can tell, it would require anyone using the header-only package to still compile the whole thing, even though they don't need it.
Didn't realize having DESTDIR on the end vs front mattered, but I'll change that.
abouvier commented on 2022-02-25 00:02 (UTC) (edited on 2022-02-25 00:02 (UTC) by abouvier)
DESTDIR must be an environment variable to work with all cmake generators: DESTDIR="$pkgdir" cmake --build . --target install
abouvier commented on 2021-07-24 03:52 (UTC) (edited on 2021-07-24 04:26 (UTC) by abouvier)
You should make a split package to ease maintenance, because the source code and version are the same for both the header-only and compiled packages :p
abouvier commented on 2021-07-19 19:59 (UTC) (edited on 2021-07-19 20:36 (UTC) by abouvier)
Sorry, it's just me who finds the -compiled suffix ugly :p
Otherwise, could you add libhttplib.so to provides=() [1] and set CMAKE_BUILD_TYPE to None [2]? :D
[1] https://wiki.archlinux.org/title/Arch_package_guidelines#Package_relations
Pinned Comments
sum01 commented on 2021-04-23 19:40 (UTC)
@Spixmaster so
cpp-httplibis header-only, and must be compiled in any project you use it in.cpp-httplib-compiledsplits the header into an interface (header) and implementation, allowing you to just link against it. Lets you avoid having to compile it every time.