Commit Graph

107 Commits

Author SHA1 Message Date
Andy Wingo
dd3580208d Bug 1577757 - Add a compile-time option for wasm multi-value r=luke
Differential Revision: https://phabricator.services.mozilla.com/D44142

--HG--
extra : moz-landing-system : lando
2019-10-01 14:30:35 +00:00
Dorel Luca
e99487f43b Backed out 2 changesets (bug 1577757, bug 1576900) for build bustage in build/src/js/src/wasm/WasmOpIter.h. CLOSED TREE
Backed out changeset d2fa4e1a030f (bug 1576900)
Backed out changeset 3e82a481ae9d (bug 1577757)
2019-09-30 13:31:49 +03:00
Andy Wingo
64ee9771f9 Bug 1577757 - Add a compile-time option for wasm multi-value r=luke
Differential Revision: https://phabricator.services.mozilla.com/D44142

--HG--
extra : moz-landing-system : lando
2019-09-20 14:03:14 +00:00
Henri Sivonen
ac75f8e389 Bug 1578677 - Support --enable-rust-simd for standalone SpiderMonkey builds. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D46144

--HG--
extra : moz-landing-system : lando
2019-09-24 00:26:55 +00:00
Andreea Pavel
4ceee566c7 Backed out 3 changesets (bug 1577757, bug 1577508, bug 1576900) for bustages at WasmOpIter.h on a CLOSED TREE
Backed out changeset 8a9ae25b1019 (bug 1577508)
Backed out changeset 948702f3a01f (bug 1576900)
Backed out changeset c3aaa0bee2b5 (bug 1577757)
2019-09-20 16:59:20 +03:00
Andy Wingo
274fa1aba0 Bug 1577757 - Add a compile-time option for wasm multi-value r=luke
Differential Revision: https://phabricator.services.mozilla.com/D44142

--HG--
extra : moz-landing-system : lando
2019-09-20 13:07:21 +00:00
Daniel Varga
1be9031fc6 Backed out 2 changesets (bug 1577757, bug 1576900) for build bustage in build/src/js/src/wasm/WasmTypes. On a CLOSED TREE
Backed out changeset fe49a3616f91 (bug 1576900)
Backed out changeset 9a94f14b4192 (bug 1577757)
2019-09-20 13:37:51 +03:00
Andy Wingo
5c5a091f6d Bug 1577757 - Add a compile-time option for wasm multi-value r=luke
Differential Revision: https://phabricator.services.mozilla.com/D44142

--HG--
extra : moz-landing-system : lando
2019-09-20 07:53:50 +00:00
Asumu Takikawa
9a1da4facc Bug 1511958 - Implement i64<>JavaScript’s BigInt conversions proposal (part 1, build system changes) r=wingo,bbouvier
This is part 1 of a series of revs that split up D41710 into smaller revs. This rev just adds a compile-time flag for wasm BigInt to I64 conversion but does not use it anywhere, as its uses are for toggling features in subsequent revs.

Differential Revision: https://phabricator.services.mozilla.com/D43177

--HG--
extra : moz-landing-system : lando
2019-08-29 11:06:37 +00:00
Mike Hommey
37be9d3076 Bug 1575198 - Reenable cranelift on central. r=nalexander
Bug 1555894 disabled it for gecko builds, but since then bug 1576003
and https://github.com/CraneStation/cranelift/pull/924 landed, which
should make its cost to the build less problematic.

Differential Revision: https://phabricator.services.mozilla.com/D43581

--HG--
extra : moz-landing-system : lando
2019-08-27 16:08:40 +00:00
Mike Hommey
2bf1cc53d8 Bug 1555894 - Only enable cranelift on JS standalone builds. r=lth,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42261

--HG--
extra : moz-landing-system : lando
2019-08-19 13:12:25 +00:00
Nathan Froyd
f51898d9da Bug 1568026 - move LTO/PGO configure bits to a new file; r=dmajor
To do properly checks on LLVM version correspondence between `clang` and
`rustc`, we need information about both of those compilers to be
available.  The current placement of the LTO/PGO checks is after we know
something about `clang`, but before we know something about `rustc`.
Therefore we need to move those checks after we've gathered information
about `rustc`.

The PGO bits come along for this bug because the LTO bits depend on
them, and we're going to need the Rust information for cross-language
PGO checks in a different bug.  So we might as well move everything all
at once.

Differential Revision: https://phabricator.services.mozilla.com/D39390

--HG--
rename : build/moz.configure/toolchain.configure => build/moz.configure/lto-pgo.configure
extra : moz-landing-system : lando
2019-07-30 16:38:39 +00:00
Mike Hommey
85e29d1e3b Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester
We've been relying on frame pointers being indirectly enabled via things
like --enable-profiling for some time, but this doesn't scale because
some things may want frame pointers while wanting --disable-profiling.

So we move MOZ_FRAMEPTR_FLAGS to python configure and add a new option
to decide whether to enable frame pointers or not.

Differential Revision: https://phabricator.services.mozilla.com/D34117

--HG--
extra : moz-landing-system : lando
2019-06-12 22:30:46 +00:00
Mike Hommey
cfe985532a Bug 1554928 - Remove configure options that have been deprecated for a while. r=nalexander
- DISABLE_SHARED_JS and DISABLE_EXPORT_JS have been deprecated for 3
years,
- MOZ_JEMALLOC4 has been deprecated for 2 years.

Differential Revision: https://phabricator.services.mozilla.com/D32928

--HG--
extra : moz-landing-system : lando
2019-05-29 02:01:02 +00:00
Mike Hommey
31e8325621 Bug 1554056 - Don't allow --enable-shared-js outside of standalone spidermonkey builds. r=dmajor
The option has presumably not worked for at least a year, and was seldom
used.

Differential Revision: https://phabricator.services.mozilla.com/D32418

--HG--
extra : moz-landing-system : lando
2019-05-28 18:45:03 +00:00
Bogdan Tara
5114c83873 Backed out changeset fdf579877df4 (bug 1554056) for causing build bustages CLOSED TREE 2019-05-28 04:04:01 +03:00
Mike Hommey
e9e6152ed8 Bug 1554056 - Don't allow --enable-shared-js outside of standalone spidermonkey builds. r=dmajor
The option has presumably not worked for at least a year, and was seldom
used.

Differential Revision: https://phabricator.services.mozilla.com/D32418

--HG--
extra : moz-landing-system : lando
2019-05-28 00:43:35 +00:00
Bogdan Tara
5cf3542fa0 Backed out changeset aa0c152930e2 (bug 1554056) for StructuredClone.h related build bustages CLOSED TREE 2019-05-28 03:38:08 +03:00
Mike Hommey
0c0c3b8e3e Bug 1554056 - Don't allow --enable-shared-js outside of standalone spidermonkey builds. r=dmajor
The option has presumably not worked for at least a year, and was seldom
used.

Differential Revision: https://phabricator.services.mozilla.com/D32418

--HG--
extra : moz-landing-system : lando
2019-05-28 00:15:07 +00:00
Nathan Froyd
49c1be9b8f Bug 1545502 - move fuzzing options to toolchain.configure; r=firefox-build-system-reviewers,chmanchester
We moved fuzzing options out of `toolkit/moz.configure` into `js`'s
configure a while back, but we seem to have snuck some fuzzing-related
options into `toolchain.configure` in the interim.  But we can't make
the `toolchain.configure` bits depend on the `js` bits; let's just put
everything in `toolchain.configure`.

Differential Revision: https://phabricator.services.mozilla.com/D28084

--HG--
extra : moz-landing-system : lando
2019-04-23 19:15:17 +00:00
Jim Porter
cb257eff1c Bug 1479970 - Enable building Tracelogger by default; r=tcampbell
This patch enables compilation of the tracelogger by default on nightly builds
as well as providing an environment variable (JS_TRACE_LOGGING) to enable or
disable tracelogger instrumentation when compiling Javascript. This helps to
reduce the performance impact of the Tracelogger code when not in use. In the
future, this could be improved to recompile the JS with/without Tracelogger
instrumentation when toggling Tracelogger support.

Differential Revision: https://phabricator.services.mozilla.com/D26255

--HG--
extra : moz-landing-system : lando
2019-04-11 23:52:41 +00:00
Nicolas B. Pierron
db7df4aaa2 Bug 1541463 - Enable MacroAssembler spew when --enable-jitspew is provided. r=sstangl
Differential Revision: https://phabricator.services.mozilla.com/D25945

--HG--
extra : moz-landing-system : lando
2019-04-03 16:47:49 +00:00
Lars T Hansen
2f39ed5e4a Bug 1531670 - Replace ENABLE_WASM_GENERALIZED_TABLES. r=bbouvier
Replace all uses of ENABLE_WASM_GENERALIZED_TABLES with
ENABLE_WASM_REFTYPES, plus some knock-on effects.

Replace all uses of wasmGeneralizedTables with wasmReftypesEnabled.

Drive-by fix: replace 'anyfunc' in a couple of error strings with the
canonical 'funcref'.

Drive-by fix: remove isSimdAvailable, it is not used and we have no
SIMD.

Differential Revision: https://phabricator.services.mozilla.com/D21653

--HG--
extra : rebase_source : 043732afa1661133eaff54554e56f76fe3e32504
2019-03-01 09:33:31 +01:00
Mike Hommey
e5a0b72512 Bug 1528226 - Check rustc version before cbindgen. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19941

--HG--
extra : moz-landing-system : lando
2019-02-15 15:23:08 +00:00
Benjamin Bouvier
f025370191 Bug 1527861: Allow disabling BinAST compilation; r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D19765

--HG--
extra : rebase_source : 059c236c7c3bcfff8349072cfb7a0364cf4d5f71
extra : amend_source : ee72ef04d5bc75c003f6aa3eedae028a8a3f491d
extra : histedit_source : 795c699d7f003b69569e8aacede6fea76b6e79f9
2019-02-14 11:52:57 +01:00
Benjamin Bouvier
afec75505d Bug 1524337: Move WebAssembly reftypes/gc configuration to moz.configure; r=luke
Differential Revision: https://phabricator.services.mozilla.com/D19788

--HG--
extra : rebase_source : 35112254e9eb5f239650466cc73329ccc175af4a
extra : histedit_source : 5a1a1d6b663c46b9cb63998566e8f101cf19eb46
2019-02-14 12:59:38 +01:00
Benjamin Bouvier
638a7c7e06 Bug 1524337: Use moz.configure for the WebAssembly bulk memory proposal; r=luke
Differential Revision: https://phabricator.services.mozilla.com/D19787

--HG--
extra : rebase_source : 7c4a67e8edf4f86e1f36e05284e1391a79556a07
extra : histedit_source : e82240942aafcde39e6b28087158769f12e428bd
2019-02-14 12:54:43 +01:00
Benjamin Bouvier
15a9d62bdb Bug 1524337: Rename ENABLE_BINARYDATA to ENABLE_TYPED_OBJECTS and use moz.configure; r=luke
Differential Revision: https://phabricator.services.mozilla.com/D19786

--HG--
extra : rebase_source : af564cff5be797b6c993fc80d9527b5196680ff8
extra : histedit_source : 8f8f4afa70341fd0628f46f41b5a01260d01c9b3
2019-02-14 12:44:25 +01:00
Andy Wingo
7d559ef8c3 Bug 1527860 - Remove ENABLE_BIGINT #ifdef r=jandem,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19766

--HG--
extra : moz-landing-system : lando
2019-02-14 15:03:44 +00:00
Tooru Fujisawa
f56506f966 Bug 1527515 - Enable building BinAST on win32 and android nightlies. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D19608

--HG--
extra : moz-landing-system : lando
2019-02-13 08:42:47 +00:00
Razvan Maries
e5944cdd0e Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-07 23:49:13 +02:00
Andy Wingo
585800608e Bug 1522436 - Enable BigInt compilation by default r=jandem,terpri,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D17487

--HG--
extra : moz-landing-system : lando
2019-02-06 13:41:56 +00:00
Benjamin Bouvier
62e9c068e7 Bug 1523993: Add JitOptions to disable wasm fast paths; r=luke
This adds a new configure option `--enable-wasm-codegen-debug`, which defaults
to true in debug builds (disable otherwise).

It's a first step so as to be able to use this in both the shell and browser,
using the env variables JIT_OPTION_{JitOption field name}.

Differential Revision: https://phabricator.services.mozilla.com/D18341

--HG--
extra : rebase_source : 37c717f4cc225a9a7d162df3b0312b68e39ad07e
2019-01-31 18:29:02 +01:00
Brindusan Cristian
2ad6bc9f9b Backed out 2 changesets (bug 1523993) for build bustages on WasmStubs.cpp. CLOSED TREE
Backed out changeset e8a0e28d1443 (bug 1523993)
Backed out changeset 454d1b05007a (bug 1523993)

--HG--
extra : histedit_source : f24f6597ab5e03d2c55da7a040cbe213234ae81a
2019-02-06 19:12:54 +02:00
Benjamin Bouvier
2ce2c5e407 Bug 1523993: Add JitOptions to disable wasm fast paths; r=luke
This adds a new configure option `--enable-wasm-codegen-debug`, which defaults
to true in debug builds (disable otherwise).

It's a first step so as to be able to use this in both the shell and browser,
using the env variables JIT_OPTION_{JitOption field name}.

Differential Revision: https://phabricator.services.mozilla.com/D18341

--HG--
extra : moz-landing-system : lando
2019-02-06 16:39:31 +00:00
Mike Hommey
367db61b4a Bug 1519319 - Move bindgen.configure include to js/moz.configure. r=froydnj
Bindgen is only used when building js or toolkit, so we only need to
include the configure part in js/moz.configure, which is included in
both cases.

Depends on D16293

Differential Revision: https://phabricator.services.mozilla.com/D16294

--HG--
extra : moz-landing-system : lando
2019-01-11 22:17:54 +00:00
Mike Hommey
65e1e6bb41 Bug 1519040 - Remove some unused old-configure assignments. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D16159

--HG--
extra : moz-landing-system : lando
2019-01-10 22:02:04 +00:00
Mike Hommey
ab48d17e1a Bug 1513134 - Detect unnecessary --help dependencies. r=firefox-build-system-reviewers,gps
Depends on D14125

Differential Revision: https://phabricator.services.mozilla.com/D14126

--HG--
extra : moz-landing-system : lando
2018-12-11 19:34:28 +00:00
Matthew Gaudet
056ca1083b Bug 1504005 - Initial Structured Spewer r=jandem
This spewer design has two goals:

  1. Provide a spew mechanism that has first-class support for slicing and
     dicing output. This means that filtering by script and channel should be
     the dominant output mechanism.
  2. Provide a simple powerful mechanism for getting information out of the
     compiler and into tools. I'm inspired by tools like CacheIR analyzer,
     IR Hydra, and the upcoming tracelogger integration into perf.html.

Differential Revision: https://phabricator.services.mozilla.com/D11787

--HG--
extra : moz-landing-system : lando
2018-11-29 14:37:01 +00:00
Brindusan Cristian
203afd2294 Backed out changeset f7f8b232d111 (bug 1504005) for devtools failures on browser_dbg_rr_breakpoints-01.js. 2018-11-28 18:04:30 +02:00
Matthew Gaudet
9167627d07 Bug 1504005 - Initial Structured Spewer r=jandem
This spewer design has two goals:

  1. Provide a spew mechanism that has first-class support for slicing and
     dicing output. This means that filtering by script and channel should be
     the dominant output mechanism.
  2. Provide a simple powerful mechanism for getting information out of the
     compiler and into tools. I'm inspired by tools like CacheIR analyzer,
     IR Hydra, and the upcoming tracelogger integration into perf.html.

Differential Revision: https://phabricator.services.mozilla.com/D11787

--HG--
extra : moz-landing-system : lando
2018-11-28 14:03:02 +00:00
Tooru Fujisawa
cd326f0e81 Bug 1492716 - Part 2: Add formatting rule to help text for --{enable,disable,with,without}. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D8834
2018-10-16 20:28:12 +09:00
Nicolas B. Pierron
cf794f4cfb Bug 1502106 - Add a configure option to disable assume_unreachable spew. r=iain 2018-10-26 12:03:21 +02:00
Benjamin Bouvier
b9854c4993 Bug 1497336: Remove Cranelift Win32 static analysis workaround; r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D8062

--HG--
extra : moz-landing-system : lando
2018-10-11 14:52:39 +00:00
Benjamin Bouvier
690bd720a5 Bug 1490948: Compile Cranelift on Nightlies except for Win32 static analysis builds; r=chmanchester
... where LLVM (32-bits toolchain) runs out of memory when compiling
gkrust.

--HG--
extra : rebase_source : f47ba34fddcb3913793781fd26cfa32293b5baf9
extra : histedit_source : 2f85d1864f963759bc97cb69b39648fb0d964578
2018-09-25 19:05:08 +02:00
Thomas P.
fde56b2dde Bug 1483780: enable sanitizer-less libfuzzer builds r=froydnj 2018-09-20 21:21:38 +00:00
Andreea Pavel
a6ba34f2ad Backed out 2 changesets (bug 1483780) for build bustages on a CLOSED TREE
Backed out changeset 2b0a42c589c5 (bug 1483780)
Backed out changeset 48d133cbafd3 (bug 1483780)
2018-09-21 05:43:03 +03:00
Thomas P.
dae33d978b Bug 1483780: enable sanitizer-less libfuzzer builds r=froydnj superreview=decoder
--HG--
extra : histedit_source : 6fd1a37c3fb5d8997be11f7846b2976fc7b8a647
2018-09-11 03:49:37 +00:00
Benjamin Bouvier
5a8d6c8eac Bug 1469027: Add a --wasm-force-cranelift flag to the shell; r=luke
--HG--
extra : rebase_source : f41aceb2ffd8c002b05593983cf428618ee135fb
extra : histedit_source : c645382205fc5aabd27f17d22d5ce5bed29b1493
2018-09-07 13:42:16 +02:00
Jesse Schwartzentruber
f832b4022e Bug 1475573 - Create --enable-fuzzing debug build job for Android x86 firefox. r=nalexander,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D2428

--HG--
extra : moz-landing-system : lando
2018-08-31 03:35:20 +00:00