spirv-llvm fix
This commit is contained in:
@@ -6,14 +6,20 @@
|
||||
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
tools = "-DLLVM_BUILD_TOOLS=OFF" if get.buildTYPE() == "emul32" else "-DLLVM_BUILD_TOOLS=ON"
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DBUILD_SHARED_LIBS=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DLLVM_INCLUDE_TESTS=ON")
|
||||
-DLLVM_SPIRV_BUILD_EXTERNAL=YES \
|
||||
-DLLVM_INCLUDE_TESTS=ON \
|
||||
%s \
|
||||
-Wno-dev" %tools)
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
Reference in New Issue
Block a user