From: | Christoph Berg <myon(at)debian(dot)org> |
---|---|
To: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
Cc: | Regina Obe <lr(at)pcorp(dot)us>, pgsql-pkg-debian(at)lists(dot)postgresql(dot)org |
Subject: | Re: Include h3-pg extension |
Date: | 2023-11-05 11:02:13 |
Message-ID: | ZUd2NbAg9AsnihLq@msg.df7cb.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-debian |
Re: Devrim Gündüz
> There are some overlapping files between h3 and h3-pg. I did not check
> closely, but you may not have to package h3. Just a FYI.
It took me a while to figure out because it was hidden in an
unexpected location, but the reason h3-pg can be compiled without h3
is that it downloads it at build time:
CMakeLists.txt:
# Include core library
add_subdirectory(cmake/h3)
cmake/h3/CMakeLists.txt:
FetchContent_Declare(
h3
URL https://github.com/uber/h3/archive/refs/tags/v${H3_CORE_VERSION}.tar.gz
URL_HASH SHA256=${H3_CORE_SHA256}
)
FetchContent_MakeAvailable(h3)
Deleting the line from CMakeLists.txt made it properly use the
system-installed libh3.
Regina: postgresql-NN-h3 packages are in the repository.
Christoph
From | Date | Subject | |
---|---|---|---|
Next Message | Christoph Berg | 2023-11-05 14:04:08 | Re: Updated packaging for MobilityDB 1.1.0~beta1 |
Previous Message | apt.postgresql.org Repository Update | 2023-11-05 10:58:39 | h3-pg updated to version 4.1.3-1.pgdg+1 |