when compiling on aarch64, gcc does not have an "-m64" option. ``` gcc: error: unrecognized command-line option ‘-m64’ ``` removing from compile and link options fixes this error, not sure if this is safe for other systems. ``` diff --git a/setup.py b/setup.py index 57992b7..32866ba 100755 --- a/setup.py +++ b/setup.py @@ -134,14 +134,14 @@ setup(name='lsf-pythonapi', # '-DLSF_SIMULATOR', '-DOS_HAS_THREAD -D_REENTRANT', gccflag_keyvaluet, gccflag_lsfversion], - extra_compile_args=['-m64', + extra_compile_args=[ '-I' + LSF_LIBDIR + '/../../include/lsf/', '-Wno-strict-prototypes', gccflag_keyvaluet, gccflag_lsfversion, '-DOS_HAS_THREAD -D_REENTRANT', #For multi-thread lib, lserrno '-Wp,-U_FORTIFY_SOURCE', #The flag needs -O option. Undefine it for warning. '-O0'], - extra_link_args=['-m64'], + extra_link_args=[], extra_objects=lsf_static_lib, libraries=lsf_dynamic_lib)], py_modules=['pythonlsf.lsf'], ```
Activity
TheWitness commentedon Nov 27, 2024
Pull request?
mlavin commentedon Sep 15, 2025
This appears to have been resolved/merged in #79