We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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'],
The text was updated successfully, but these errors were encountered:
Pull request?
Sorry, something went wrong.
No branches or pull requests
when compiling on aarch64, gcc does not have an "-m64" option.
removing from compile and link options fixes this error, not sure if this is safe for other systems.
The text was updated successfully, but these errors were encountered: