File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 20
20
run : /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
21
21
- name : Run Build
22
22
run : bash build.mac.sh
23
+ - name : Cleanup artifact
24
+ run : find ~/Library/Nuitka-Python311-arm64 \( -iname '*.o' -o -iname '__pycache__' -o -iname 'link.json' \) | xargs rm -rf
23
25
- uses : actions/upload-artifact@v4
24
26
with :
25
27
name : Nuitka-Python311_mac_arm64
40
42
run : /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
41
43
- name : Run Build
42
44
run : arch -x86_64 bash build.mac.sh
45
+ - name : Cleanup artifact
46
+ run : find ~/Library/Nuitka-Python311-x86_64 \( -iname '*.o' -o -iname '__pycache__' -o -iname 'link.json' \) | xargs rm -rf
43
47
- uses : actions/upload-artifact@v4
44
48
with :
45
49
name : Nuitka-Python311_mac_x86_64
Original file line number Diff line number Diff line change @@ -648,9 +648,11 @@ def get_config_vars(*args):
648
648
_CONFIG_VARS ['VPATH' ] = sys ._vpath
649
649
if os .name == 'posix' :
650
650
_init_posix (_CONFIG_VARS )
651
+ orig_deps_prefix = _CONFIG_VARS ["CONFIG_ARGS" ].split ("___ORIG_DEPS_PREFIX=" , 2 )[1 ].split ("___'" , 2 )[0 ]
652
+ base_deps_location = os .path .join (_PREFIX , "dependency_libs" , "base" )
651
653
for var in _CONFIG_VARS :
652
654
if isinstance (_CONFIG_VARS [var ], str ):
653
- _CONFIG_VARS [var ] = _CONFIG_VARS [var ].replace (_CONFIG_VARS ['prefix' ], _PREFIX )
655
+ _CONFIG_VARS [var ] = _CONFIG_VARS [var ].replace (_CONFIG_VARS ['prefix' ], _PREFIX ). replace ( orig_deps_prefix , base_deps_location )
654
656
655
657
# Normalized versions of prefix and exec_prefix are handy to have;
656
658
# in fact, these are the standard versions used most places in the
Original file line number Diff line number Diff line change @@ -276,7 +276,8 @@ export "LDFLAGS=-L${PREFIX}/lib"
276
276
CFLAGS=" -g $CFLAGS " \
277
277
LDFLAGS=" -arch $arch -g -Xlinker $LDFLAGS " \
278
278
LIBS=" -lffi -lbz2 -lsqlite3 -llzma -lnp_embed -lssl -lcrypto " \
279
- ax_cv_c_float_words_bigendian=no
279
+ ax_cv_c_float_words_bigendian=no \
280
+ ___ORIG_DEPS_PREFIX=${PREFIX} ___
280
281
281
282
make -j 32 \
282
283
PROFILE_TASK=' ./Lib/test/regrtest.py -j 8 -x test_bsddb3 test_compiler test_cpickle test_cprofile test_dbm_dumb test_dbm_ndbm test_distutils test_ensurepip test_gdb test_io test_linuxaudiodev test_multiprocessing test_ossaudiodev test_platform test_pydoc test_socketserver test_subprocess test_sundry test_thread test_threaded_import test_threadedtempfile test_threading test_threading_local test_threadsignals test_xmlrpc test_zipfile' \
You can’t perform that action at this time.
0 commit comments