Files
2025-10-21 06:18:19 +03:00

29 lines
616 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
j = ''.join([
' -DCMAKE_INSTALL_PREFIX=/usr',
' -DCMAKE_INSTALL_DOCDIR=share/doc/onetbb',
' -DTBB4PY_BUILD=ON',
' -DTBB_TEST=OFF',
' -Bbuild -G Ninja -L '
])
def setup():
cmaketools.configure(j)
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("LICENSE.txt")