add intel vpl1.

This commit is contained in:
4fury-c3440d8
2023-01-02 13:26:16 +03:00
parent d77d395187
commit 3c7e4aa895
2 changed files with 112 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/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, mesontools, pisitools
j = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DONEAPI_INSTALL_ENVDIR=/usr/share//vpl',
' -DONEAPI_INSTALL_MODFILEDIR=/usr/share/vpl/modulefiles',
' -DBUILD_TOOLS_ONEVPL_EXPERIMENTAL=OFF',
' -DBUILD_DISPATCHER_ONEVPL_EXPERIMENTAL=OFF',
' -DBUILD_TESTS=ON',
' -DBUILD_TOOLS=OFF',
' -B_build -G Ninja -L '
])
def setup():
cmaketools.configure(j)
def build():
mesontools.build("-C _build")
def install():
mesontools.install("-C _build")
pisitools.dodoc("CHANGELOG.md", "CONTRIBUTING.md")