Make (install from source) python without running tests

后端 未结 4 2069
情深已故
情深已故 2021-02-01 01:33

I compiling python from source tar. All works good, but tests running 2 hours and two times. How to bypass these tests?

0:16:20 [178/405] test_inspect
0:16:26 [1         


        
4条回答
  •  南旧
    南旧 (楼主)
    2021-02-01 02:08

    the default build target for optimized builds includes running the tests. to skip them, try:

     make -C dl/Python-${PYTHON_VERSION} -j8 build_all
    

提交回复
热议问题