0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-27 16:44:57 +00:00
Files
termux-packages/packages/libtbb/build.sh
Termux Github Actions e477d08c77 bump(main/libtbb): 2022.1.0
This commit has been automatically submitted by Github Actions.
2025-03-27 12:12:16 +00:00

22 lines
840 B
Bash

TERMUX_PKG_HOMEPAGE=https://oneapi-src.github.io/oneTBB/
TERMUX_PKG_DESCRIPTION="oneAPI Threading Building Blocks"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2022.1.0"
TERMUX_PKG_SRCURL=https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ed067603ece0dc832d2881ba5c516625ac2522c665d95f767ef6304e34f961b5
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DTBB_STRICT=OFF
-DTBB_TEST=OFF
"
termux_step_pre_configure() {
# Many symbols in the linker version scripts are undefined because link time
# optimization (-flto=thin) removes them. Suppress errors with lld >= 17 due to
# these undefined symbols.
# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274337
LDFLAGS+=" -Wl,--undefined-version"
}