[dev-db/timescaledb] welcome to "fix multibuild once and for all" season 2
This commit is contained in:
parent
6a90c9af59
commit
159d61f161
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
POSTGRES_COMPAT=( {14..16} )
|
POSTGRES_COMPAT=( {14..17} )
|
||||||
POSTGRES_USEDEP="ssl"
|
POSTGRES_USEDEP="ssl"
|
||||||
|
|
||||||
inherit cmake postgres-multi
|
inherit cmake postgres-multi
|
||||||
@ -22,31 +22,48 @@ RESTRICT="test"
|
|||||||
DEPEND="${POSTGRES_DEP}"
|
DEPEND="${POSTGRES_DEP}"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
timescale_src_prepare() {
|
||||||
|
local CMAKE_USE_DIR=$BUILD_DIR
|
||||||
|
cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
postgres-multi_src_prepare
|
postgres-multi_src_prepare
|
||||||
postgres-multi_foreach cmake_src_prepare
|
postgres-multi_foreach timescale_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
timescale_src_configure() {
|
||||||
|
local CMAKE_USE_DIR=$BUILD_DIR
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DAPACHE_ONLY=$(usex tsl OFF ON)
|
||||||
|
-DWARNINGS_AS_ERRORS=OFF
|
||||||
|
-DSEND_TELEMETRY_DEFAULT=OFF
|
||||||
|
-DREGRESS_CHECKS=OFF
|
||||||
|
-DPG_CONFIG=${PG_CONFIG}
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
pg_src_configure () {
|
postgres-multi_foreach timescale_src_configure
|
||||||
local mycmakeargs=(
|
}
|
||||||
-DAPACHE_ONLY=$(usex tsl OFF ON)
|
|
||||||
-DWARNINGS_AS_ERRORS=OFF
|
timescale_src_compile() {
|
||||||
-DSEND_TELEMETRY_DEFAULT=OFF
|
local CMAKE_USE_DIR=$BUILD_DIR
|
||||||
-DREGRESS_CHECKS=OFF
|
cmake_src_compile
|
||||||
-DPG_CONFIG=${PG_CONFIG}
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
postgres-multi_foreach pg_src_configure
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
postgres-multi_foreach cmake_src_compile
|
postgres-multi_foreach timescale_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
timescale_src_install() {
|
||||||
|
local CMAKE_USE_DIR=$BUILD_DIR
|
||||||
|
cmake_src_install
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
postgres-multi_foreach cmake_src_install
|
postgres-multi_foreach timescale_src_install
|
||||||
|
|
||||||
find "${ED}" -name '*.a' -delete
|
find "${ED}" -name '*.a' -delete
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user