• Home
  • Raw
  • Download

Lines Matching +full:enable +full:- +full:fips

61 valid_arm_fpu = ('vfp', 'vfpv3', 'vfpv3-d16', 'neon')
65 valid_intl_modes = ('none', 'small-icu', 'full-icu', 'system-icu')
72 "built-in dependencies or its shared representations. If necessary, "
75 "Flags that lets you enable i18n features in Node.js as well as which "
80 # Options should be in alphabetical order but keep --prefix at the top,
82 parser.add_option('--prefix',
88 parser.add_option('--coverage',
93 parser.add_option('--debug',
98 parser.add_option('--debug-node',
103 parser.add_option('--dest-cpu',
109 parser.add_option('--cross-compiling',
114 parser.add_option('--no-cross-compiling',
120 parser.add_option('--dest-os',
126 parser.add_option('--error-on-warn',
131 parser.add_option('--gdb',
136 parser.add_option('--no-ifaddrs',
141 parser.add_option("--fully-static",
147 parser.add_option("--partly-static",
153 parser.add_option("--enable-pgo-generate",
156 help="Enable profiling with pgo of a binary. This feature is only available "
159 parser.add_option("--enable-pgo-use",
162 help="Enable use of the profile generated with --enable-pgo-generate. This "
165 parser.add_option("--enable-lto",
168 help="Enable compiling with lto of a binary. This feature is only available "
171 parser.add_option("--link-module",
179 parser.add_option("--openssl-conf-name",
185 parser.add_option('--openssl-default-cipher-list',
190 parser.add_option("--openssl-no-asm",
195 parser.add_option('--openssl-fips',
198 help='Build OpenSSL using FIPS canister .o file in supplied folder')
200 parser.add_option('--openssl-is-fips',
203 help='specifies that the OpenSSL library is FIPS compatible')
205 parser.add_option('--openssl-use-def-ca-store',
208 help='Use OpenSSL supplied CA store instead of compiled-in Mozilla CA copy.')
210 parser.add_option('--openssl-system-ca-path',
214 'the OpenSSL supplied CA store or compiled-in Mozilla CA copy.')
216 parser.add_option('--experimental-http-parser',
219 help='(no-op)')
221 shared_optgroup.add_option('--shared-http-parser',
226 shared_optgroup.add_option('--shared-http-parser-includes',
231 shared_optgroup.add_option('--shared-http-parser-libname',
237 shared_optgroup.add_option('--shared-http-parser-libpath',
242 shared_optgroup.add_option('--shared-libuv',
247 shared_optgroup.add_option('--shared-libuv-includes',
252 shared_optgroup.add_option('--shared-libuv-libname',
258 shared_optgroup.add_option('--shared-libuv-libpath',
263 shared_optgroup.add_option('--shared-nghttp2',
268 shared_optgroup.add_option('--shared-nghttp2-includes',
273 shared_optgroup.add_option('--shared-nghttp2-libname',
279 shared_optgroup.add_option('--shared-nghttp2-libpath',
284 shared_optgroup.add_option('--shared-openssl',
289 shared_optgroup.add_option('--shared-openssl-includes',
294 shared_optgroup.add_option('--shared-openssl-libname',
300 shared_optgroup.add_option('--shared-openssl-libpath',
305 shared_optgroup.add_option('--shared-zlib',
310 shared_optgroup.add_option('--shared-zlib-includes',
315 shared_optgroup.add_option('--shared-zlib-libname',
321 shared_optgroup.add_option('--shared-zlib-libpath',
326 shared_optgroup.add_option('--shared-brotli',
331 shared_optgroup.add_option('--shared-brotli-includes',
336 shared_optgroup.add_option('--shared-brotli-libname',
342 shared_optgroup.add_option('--shared-brotli-libpath',
347 shared_optgroup.add_option('--shared-cares',
352 shared_optgroup.add_option('--shared-cares-includes',
357 shared_optgroup.add_option('--shared-cares-libname',
363 shared_optgroup.add_option('--shared-cares-libpath',
370 parser.add_option('--systemtap-includes',
375 parser.add_option('--tag',
380 parser.add_option('--release-urlbase',
387 parser.add_option('--enable-d8',
392 parser.add_option('--enable-trace-maps',
395 help='Enable the --trace-maps flag in V8 (use at your own risk)')
397 parser.add_option('--experimental-enable-pointer-compression',
400 …help='[Experimental] Enable V8 pointer compression (limits max heap to 4GB and breaks ABI compatib…
402 parser.add_option('--v8-options',
405 help='v8 options to pass, see `node --v8-options` for examples.')
407 parser.add_option('--with-ossfuzz',
410 help='Enables building of fuzzers. This command should be run in an OSS-Fuzz Docker image.')
412 parser.add_option('--with-arm-float-abi',
416 help='specifies which floating-point ABI to use ({0}).'.format(
419 parser.add_option('--with-arm-fpu',
426 parser.add_option('--with-mips-arch-variant',
434 parser.add_option('--with-mips-fpu-mode',
442 parser.add_option('--with-mips-float-abi',
447 help='MIPS floating-point ABI ({0}) [default: %default]'.format(
450 parser.add_option('--with-dtrace',
455 parser.add_option('--with-etw',
460 parser.add_option('--use-largepages',
463 help='This option has no effect. --use-largepages is now a runtime option.')
465 parser.add_option('--use-largepages-script-lld',
468 help='This option has no effect. --use-largepages is now a runtime option.')
470 parser.add_option('--use-section-ordering-file',
478 intl_optgroup.add_option('--with-intl',
481 default='full-icu',
486 intl_optgroup.add_option('--without-intl',
490 help='Disable Intl, same as --with-intl=none (disables inspector)')
492 intl_optgroup.add_option('--with-icu-path',
499 intl_optgroup.add_option('--with-icu-locales',
503 help='Comma-separated list of locales for "small-icu". "root" is assumed. '
506 intl_optgroup.add_option('--with-icu-source',
513 intl_optgroup.add_option('--with-icu-default-data-dir',
518 '--icu-data-dir runtime argument is used. This option has effect '
519 'only when Node.js is built with --with-intl=small-icu.')
521 parser.add_option('--with-ltcg',
526 parser.add_option('--without-node-snapshot',
531 parser.add_option('--without-node-code-cache',
536 intl_optgroup.add_option('--download',
541 intl_optgroup.add_option('--download-path',
549 parser.add_option('--debug-lib',
554 http2_optgroup.add_option('--debug-nghttp2',
561 parser.add_option('--without-dtrace',
566 parser.add_option('--without-etw',
571 parser.add_option('--without-npm',
576 parser.add_option('--without-corepack',
582 parser.add_option('--without-report',
587 parser.add_option('--with-snapshot',
592 parser.add_option('--without-snapshot',
597 parser.add_option('--without-siphash',
604 parser.add_option('--without-ssl',
609 parser.add_option('--without-node-options',
614 parser.add_option('--ninja',
619 parser.add_option('--enable-asan',
624 parser.add_option('--enable-static',
629 parser.add_option('--no-browser-globals',
635 parser.add_option('--without-inspector',
640 parser.add_option('--shared',
646 parser.add_option('--without-v8-platform',
653 parser.add_option('--without-bundled-v8',
660 parser.add_option('--build-v8-with-gn',
666 parser.add_option('--verbose',
672 parser.add_option('--v8-non-optimized-debug',
678 parser.add_option('--v8-with-dchecks',
684 parser.add_option('--v8-lite-mode',
689 'memory footprint, but also implies no just-in-time compilation ' +
692 parser.add_option('--v8-enable-object-print',
698 parser.add_option('--node-builtin-modules-path',
705 parser.add_option('-C',
715 # set up auto-download list
753 return s if isinstance(s, str) else s.decode("utf-8")
756 """Run pkg-config on the specified package
757 Returns ("-l flags", "-I flags", "-L flags", "version")
759 pkg_config = os.environ.get('PKG_CONFIG', 'pkg-config')
760 args = [] # Print pkg-config warnings on first round.
762 for flag in ['--libs-only-l', '--cflags-only-I',
763 '--libs-only-L', '--modversion']:
775 return (None, None, None, None) # No pkg-config/pkgconf installed.
777 args = ['--silence-errors']
783 proc = subprocess.Popen(shlex.split(cc) + ['-E', '-P', '-x', lang, '-'],
803 … https://github.com/openssl/openssl/blob/OpenSSL_1_0_2-stable/crypto/sha/asm/sha512-x86_64.pl#L112
807 proc = subprocess.Popen(shlex.split(cc) + ['-v'], stdin=subprocess.PIPE,
814 it in a non-standard prefix.''')
825 proc = subprocess.Popen(shlex.split(asm) + ['-v'],
834 match = re.match(r"NASM version ([2-9]\.[0-9][0-9]+)",
844 cc, r"(^(?:.+ )?clang version|based on LLVM) ([0-9]+\.[0-9]+)")
848 cc, r"(^Apple (?:clang|LLVM) version) ([0-9]+\.[0-9]+)")
854 proc = subprocess.Popen(shlex.split(cc) + ['-Wa,-v', '-c', '-o',
855 '/dev/null', '-x',
864 it in a non-standard prefix.''')
867 match = re.match(r"GNU assembler version ([2-9]\.[0-9]+)", gas_ret)
875 # Note: Apple clang self-reports as clang 4.2.0 and gcc 4.2.1. It passes
929 p = subprocess.Popen(shlex.split(cc or CC) + ['-dM', '-E', '-'],
938 it in a non-standard prefix.''')
1037 o['variables']['arm_thumb'] = 0 # -marm
1104 warn('building --without-snapshot is no longer possible')
1117 # TODO(refack): fix this when implementing embedded code-cache when cross-compiling.
1139 'The options --enable-pgo-generate and --enable-pgo-use '
1144 'Only one of the --enable-pgo-generate or --enable-pgo-use options '
1146 '--enable-pgo-generate first, profile node, and then recompile '
1147 'with --enable-pgo-use')
1163 'The option --enable-lto is supported for gcc %s+'
1170 # Don't enable by default on linux and freebsd
1185 warn('''The `--use-largepages` and `--use-largepages-script-lld` options
1187 now a runtime option of Node.js. Run `node --use-largepages` or add
1188 `--use-largepages` to the `NODE_OPTIONS` environment variable once
1189 Node.js is built to enable mapping to large pages.''')
1194 # By default, enable ETW on Windows.
1207 o['variables']['node_tag'] = '-' + options.tag
1280 stripped_flags = [flag.strip() for flag in pkg_cflags.split('-I')]
1292 '-L%s' % options.__dict__[shared_lib + '_libpath']]
1297 default_libs = ['-l{0}'.format(l) for l in default_libs.split(',')]
1325 raise Exception('--enable-d8 is incompatible with --without-bundled-v8.')
1328 '--build-v8-with-gn is incompatible with --without-bundled-v8.')
1350 error('--without-ssl is incompatible with %s' % option)
1352 without_ssl_error('--shared-openssl')
1354 without_ssl_error('--openssl-no-asm')
1356 without_ssl_error('--openssl-fips')
1358 without_ssl_error('--openssl-default-cipher-list')
1376 # blob/OpenSSL_1_1_0-stable/crypto/modes/asm/aesni-gcm-x86_64.pl#L52-L69
1385 --openssl-no-asm.
1389 warn('''--openssl-no-asm will result in binaries that do not take advantage
1394 error('--openssl-no-asm is incompatible with --shared-openssl')
1397 error('FIPS is not supported in this version of Node.js')
1410 o['libraries'] += ['-static']
1412 o['libraries'] += ['-static-libgcc', '-static-libstdc++']
1414 o['libraries'] += ['-static-libasan']
1461 local = url.split('/')[-1]
1467 print('Re-using existing %s' % targetfile)
1494 error('Cannot specify both --with-icu-path and --with-intl')
1496 # Chromium .gyp mode: --with-icu-path
1501 # --with-intl=<with_intl>
1506 elif with_intl == 'small-icu':
1513 # We will check a bit later if we can use the canned deps/icu-small
1515 elif with_intl == 'full-icu':
1518 elif with_intl == 'system-icu':
1519 # ICU from pkg-config.
1521 pkgicu = pkg_config('icu-i18n')
1523 error('''Could not load pkg-config data for "icu-i18n".
1537 stripped_flags = [flag.strip() for flag in cflags.split('-I')]
1540 o['variables']['icu_gyp_path'] = 'tools/icu/icu-system.gyp'
1550 # icu-tmp is used to download and unpack the ICU tarball.
1551 icu_tmp_path = os.path.join(icu_parent_path, 'icu-tmp')
1554 canned_icu_dir = 'deps/icu-small'
1557 canned_is_full = os.path.isfile(os.path.join(canned_icu_dir, 'README-FULL-ICU.txt'))
1558 canned_is_small = os.path.isfile(os.path.join(canned_icu_dir, 'README-SMALL-ICU.txt'))
1560 warn('Ignoring %s - in-repo small icu is no longer supported.' % canned_icu_dir)
1562 # We can use 'deps/icu-small' - pre-canned ICU *iff*
1563 # - canned_is_full AND
1564 # - with_icu_source is unset (i.e. no other ICU was specified)
1567 # $ configure --with-intl=full-icu --with-icu-source=deps/icu-small
1568 # .. Except that we avoid copying icu-small over to deps/icu.
1573 # OK- we can use the canned ICU.
1576 # --with-icu-source processing
1577 # now, check that they didn't pass --with-icu-source=deps/icu
1579 warn('Ignoring redundant --with-icu-source=%s' % with_icu_source)
1589 print('%s -> %s' % (with_icu_source, icu_full_path))
1603 local = os.path.join(icu_tmp_path, with_icu_source.split('/')[-1]) # local part
1614 error('--with-icu-source=%s did not result in an "icu" dir.' % \
1617 # ICU mode. (icu-generic.gyp)
1618 o['variables']['icu_gyp_path'] = 'tools/icu/icu-generic.gyp'
1627 warn('* ECMA-402 (Intl) support didn\'t find ICU in %s..' % icu_full_path)
1630 Fix, or disable with "--with-intl=none"''' % icu_full_path)
1637 error('Could not load %s - is ICU installed?' % uvernum_h)
1688 # may be little-endian if from a icu-project.org tarball
1707 # calculate platform-specific genccode args
1717 icu_config['variables']['icu_asm_opts'] = [ '-o ' ]
1718 elif with_intl == 'small-icu' or options.cross_compiling:
1723 icu_config['variables']['icu_asm_opts'] = [ '-a', 'gcc-darwin' ]
1726 icu_config['variables']['icu_asm_opts'] = [ '-a', 'xlc' ]
1728 # assume GCC-compatible asm is OK
1730 icu_config['variables']['icu_asm_opts'] = [ '-a', 'gcc' ]
1745 proc = subprocess.Popen(['ld.gold'] + ['-v'], stdin = subprocess.PIPE,
1752 match = re.match(r"^GNU gold.*([0-9]+)\.([0-9]+)$",
1753 proc.communicate()[0].decode("utf-8"))
1835 # Forward OSS-Fuzz settings
1844 # make_global_settings for special FIPS linking
1845 # should not be used to compile modules in node-gyp
1872 write('config.status', '#!/bin/sh\nset -x\nexec ./configure ' +
1910 gyp_args = ['--no-parallel', '-Dconfiguring_node=1']
1913 gyp_args += ['-f', 'ninja']
1915 gyp_args += ['-f', 'msvs', '-G', 'msvs_version=auto']
1917 gyp_args += ['-f', 'make-' + flavor]
1920 gyp_args += ['-f', 'compile_commands_json']
1924 gyp_args += ['-Dpython=' + sys.executable]