-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
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
build: add --with-arm-fpu option #3228
Conversation
@@ -606,11 +615,12 @@ def configure_arm(o): | |||
else: | |||
arm_float_abi = 'default' | |||
|
|||
o['variables']['arm_fpu'] = options.arm_fpu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it really make sense to make this explicit setting overridable by the configure script? It seems like if someone is passing the option explicitly, it should not be overridden. For example, what if an armv7 user would want to use vfp or vfpv2 instead of vfpv3 (e.g. for debugging or other reasons)?
I removed the default value of the option, set it inside the method which decides sane defaults, |
@@ -30,6 +30,7 @@ valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux', | |||
valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 'x32', | |||
'x64', 'x86') | |||
valid_arm_float_abi = ('soft', 'softfp', 'hard') | |||
valid_arm_fpu = ('vfp', 'vfpv2', 'vfpv3', 'neon') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
V8 also knows about vfpv3-d16. I don't know how common it is but might be nice to add.
LGTM, I'll squash it when I land it. @mscdex LGTY? |
LGTM I guess the |
Landed in 17665af, thanks. @mscdex test-stringbytes-external is failure prone on underpowered machines, it allocates a lot of memory. |
Fixes: #2942
Tested with various configurations:
http://anonscm.debian.org/cgit/collab-maint/nodejs.git/tree/debian/rules?h=debian/4.1.1_dfsg-3#n79