File: 0032-Temporarily-disable-compilation-warnings.patch

package info (click to toggle)
numba 0.56.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 23,672 kB
  • sloc: python: 183,651; ansic: 15,370; cpp: 2,259; javascript: 424; sh: 308; makefile: 174
file content (31 lines) | stat: -rw-r--r-- 1,154 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
28
29
30
31
From: Siu Kwan Lam <1929845+sklam@users.noreply.github.com>
Origin: https://github.com/numba/numba/pull/8545
Date: Wed, 26 Oct 2022 15:17:55 -0500
Subject: Temporarily disable compilation warnings

---
 buildscripts/incremental/build.sh | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/buildscripts/incremental/build.sh b/buildscripts/incremental/build.sh
index 4c696d6..f8000f3 100755
--- a/buildscripts/incremental/build.sh
+++ b/buildscripts/incremental/build.sh
@@ -7,11 +7,12 @@ conda activate $CONDA_ENV
 set -v -e
 
 # Build numba extensions without silencing compile errors
-if [[ "$(uname -s)" == *"Linux"* ]] && [[ "$(uname -p)" == *"86"* ]]; then
-    EXTRA_BUILD_EXT_FLAGS="--werror --wall"
-else
-    EXTRA_BUILD_EXT_FLAGS=""
-fi
+# if [[ "$(uname -s)" == *"Linux"* ]] && [[ "$(uname -p)" == *"86"* ]]; then
+#     EXTRA_BUILD_EXT_FLAGS="--werror --wall"
+# else
+#     EXTRA_BUILD_EXT_FLAGS=""
+# fi
+EXTRA_BUILD_EXT_FLAGS=""
 
 if [[ $(uname) == "Darwin" ]]; then
     # The following is suggested in https://docs.conda.io/projects/conda-build/en/latest/resources/compiler-tools.html?highlight=SDK#macos-sdk