File tree 1 file changed +5
-7
lines changed 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,6 @@ def get_env(self):
342
342
toolchain_prefix = toolchain_prefix ,
343
343
cxxflags = env ['CXXFLAGS' ])
344
344
345
- # AND: Not sure if these are still important
346
345
env ['AR' ] = '{}-ar' .format (toolchain_prefix )
347
346
env ['RANLIB' ] = '{}-ranlib' .format (toolchain_prefix )
348
347
env ['LD' ] = '{}-ld' .format (toolchain_prefix )
@@ -1910,14 +1909,13 @@ def run_pymodules_install(ctx, modules):
1910
1909
fileh .write ('{}\n ' .format (module ))
1911
1910
1912
1911
info ('Installing Python modules with pip' )
1912
+ info ('If this fails with a message about /bin/false, this '
1913
+ 'probably means the package cannot be installed with '
1914
+ 'pip as it needs a compilation recipe.' )
1913
1915
1914
- # AND: This doesn't work yet
1915
- shprint ( sh . bash , '-c' , '''"source venv/bin/activate && env CC=/bin/false CXX=/bin/false PYTHONPATH= pip install --target '{}' -r requirements.txt"''' . format ( ctx . get_site_packages_dir ()) )
1916
+ shprint ( sh . bash , '-c' , '''source venv/bin/activate && env CC=/bin/false CXX=/bin/false PYTHONPATH= pip install --target '{}' -r requirements.txt''' . format ( ctx . get_site_packages_dir ()))
1917
+ exit ( 1 )
1916
1918
1917
-
1918
-
1919
-
1920
-
1921
1919
def biglink (ctx , arch ):
1922
1920
# First, collate object files from each recipe
1923
1921
info ('Collating object files from each recipe' )
You can’t perform that action at this time.
0 commit comments