rust build trial

This commit is contained in:
Idris Kalp
2020-11-21 03:34:56 +03:00
parent a8d082ebb4
commit b513029829
3 changed files with 14 additions and 3 deletions
+5 -1
View File
@@ -10,10 +10,14 @@ from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir = "rustc-%s-src" %get.srcVERSION()
crt_ver = "11.0.0"
def build():
shelltools.export("LC_ALL", "en_US.UTF-8")
shelltools.system("python ./x.py build")
shelltools.export("RUST_BACKTRACE", "1")
shelltools.export("RUST_COMPILER_RT_ROOT", "%s/%s/compiler-rt-%s.src" % (get.workDIR(), WorkDir, crt_ver))
shelltools.system("python ./x.py dist")
def install():