fix use system tools: build-depend on clang-11 lld-11 llvm-11 nodejs; update patch 2005; add patch 2006 to locate binaryen
Jonas Smedegaard
3 years ago
5 | 5 |
Jonas Smedegaard <dr@jones.dk>,
|
6 | 6 |
Build-Depends:
|
7 | 7 |
binaryen (>= 97) <!nocheck>,
|
|
8 |
clang-11 <!nocheck> | clang (>= 1:11.0) <!nocheck>,
|
8 | 9 |
cmake <!nocheck>,
|
|
10 |
lld-11 <!nocheck> | lld (>= 1:11.0) <!nocheck>,
|
|
11 |
llvm-11 <!nocheck> | llvm (>= 1:11.0) <!nocheck>,
|
9 | 12 |
debhelper-compat (= 12),
|
10 | 13 |
dh-sequence-python3,
|
11 | 14 |
help2man,
|
12 | 15 |
libjs-source-map,
|
|
16 |
nodejs <!nocheck>,
|
13 | 17 |
python3,
|
14 | 18 |
python3-numpy <!nocheck>,
|
15 | 19 |
Standards-Version: 4.5.0
|
14 | 14 |
SIMD_INTEL_FEATURE_TOWER = ['-msse', '-msse2', '-msse3', '-mssse3', '-msse4.1', '-msse4.2', '-mavx']
|
15 | 15 |
SIMD_NEON_FLAGS = ['-mfpu=neon']
|
16 | 16 |
|
|
17 |
--- a/tools/settings_template.py
|
|
18 |
+++ b/tools/settings_template.py
|
|
19 |
@@ -51,3 +51,6 @@
|
|
20 |
# Other options
|
|
21 |
#
|
|
22 |
# FROZEN_CACHE = True # never clears the cache, and disallows building to the cache
|
|
23 |
+
|
|
24 |
+LLVM_ADD_VERSION = '11'
|
|
25 |
+CLANG_ADD_VERSION = '11'
|
|
0 |
Description: adjust default path to binaryen
|
|
1 |
Author: Jonas Smedegaard <dr@jones.dk>
|
|
2 |
Last-Update: 2020-10-12
|
|
3 |
---
|
|
4 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|
5 |
--- a/tools/settings_template.py
|
|
6 |
+++ b/tools/settings_template.py
|
|
7 |
@@ -19,7 +19,7 @@
|
|
8 |
EMSCRIPTEN_ROOT = os.path.expanduser(os.getenv('EMSCRIPTEN', '{{{ EMSCRIPTEN_ROOT }}}')) # directory
|
|
9 |
|
|
10 |
LLVM_ROOT = os.path.expanduser(os.getenv('LLVM', '{{{ LLVM_ROOT }}}')) # directory
|
|
11 |
-BINARYEN_ROOT = os.path.expanduser(os.getenv('BINARYEN', '')) # directory
|
|
12 |
+BINARYEN_ROOT = os.path.expanduser(os.getenv('BINARYEN', '/usr')) # directory
|
|
13 |
|
|
14 |
# Location of the node binary to use for running the JS parts of the compiler.
|
|
15 |
# This engine must exist, or nothing can be compiled.
|
3 | 3 |
2003_avoid_install_packaging.patch
|
4 | 4 |
2004_privacy.patch
|
5 | 5 |
2005_older_llvm.patch
|
|
6 |
2006_binaryen_path.patch
|