ninja rebuild py3
This commit is contained in:
@@ -18,13 +18,16 @@ def build():
|
|||||||
if ( j > 0 ) return j;\
|
if ( j > 0 ) return j;\
|
||||||
' src/ninja.cc""")
|
' src/ninja.cc""")
|
||||||
|
|
||||||
shelltools.system("python configure.py --bootstrap")
|
#shelltools.export("PYTHON","/usr/bin/python3")
|
||||||
|
shelltools.system("grep -rl '^#!.*python$' | xargs sed -i '1s/python/&3/'")
|
||||||
|
|
||||||
|
shelltools.system("python3 configure.py --bootstrap")
|
||||||
shelltools.system("asciidoc doc/manual.asciidoc")
|
shelltools.system("asciidoc doc/manual.asciidoc")
|
||||||
#shelltools.system("emacs -Q --batch -f batch-byte-compile misc/ninja-mode.el")
|
#shelltools.system("emacs -Q --batch -f batch-byte-compile misc/ninja-mode.el")
|
||||||
|
|
||||||
def check():
|
def check():
|
||||||
#needs new package gtest -> ignore it for now
|
#needs new package gtest -> ignore it for now
|
||||||
shelltools.system("python ./configure.py")
|
shelltools.system("python3 ./configure.py")
|
||||||
shelltools.system("./ninja ninja_test")
|
shelltools.system("./ninja ninja_test")
|
||||||
shelltools.system("./ninja_test --gtest_filter=-SubprocessTest.SetWithLots")
|
shelltools.system("./ninja_test --gtest_filter=-SubprocessTest.SetWithLots")
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="13">
|
||||||
|
<Date>2021-05-29</Date>
|
||||||
|
<Version>1.10.2</Version>
|
||||||
|
<Comment>Rebuild python3.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnslp@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="12">
|
<Update release="12">
|
||||||
<Date>2021-03-01</Date>
|
<Date>2021-03-01</Date>
|
||||||
<Version>1.10.2</Version>
|
<Version>1.10.2</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user