File: 2011_system_shared_tools.patch

package info (click to toggle)
emscripten 3.1.69%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 121,860 kB
  • sloc: ansic: 636,110; cpp: 425,974; javascript: 78,401; python: 58,404; sh: 49,154; pascal: 5,237; makefile: 3,366; asm: 2,415; lisp: 1,869
file content (27 lines) | stat: -rw-r--r-- 796 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: detect and use system shared helper tools by default
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2022-02-11
---
 tools/config.py          | 1 +
 tools/config_template.py | 1 +
 2 files changed, 2 insertions(+)

--- a/tools/config.py
+++ b/tools/config.py
@@ -205,6 +205,7 @@
   config_data = config_data.replace('\'{{{ BINARYEN_ROOT }}}\'', repr(binaryen_root))
 
   node = shutil.which('node') or shutil.which('nodejs') or 'node'
+
   config_data = config_data.replace('\'{{{ NODE }}}\'', repr(node))
 
   # write
--- a/tools/config_template.py
+++ b/tools/config_template.py
@@ -48,5 +48,6 @@
 #
 # FROZEN_CACHE = True # never clears the cache, and disallows building to the cache
 
+CLOSURE_COMPILER = 'closure-compiler'
 LLVM_ADD_VERSION = '19'
 CLANG_ADD_VERSION = '19'