Skip to content

Commit

Permalink
debug 3
Browse files Browse the repository at this point in the history
  • Loading branch information
anutosh491 committed Oct 14, 2024
1 parent d4002d1 commit 90b8f9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,28 +1,13 @@
From 09fd1aa0aa6a98e1cebaa6e34fca1e424dab8f48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= <[email protected]>
Date: Fri, 9 Dec 2022 16:40:13 +0100
Subject: [PATCH 1/2] Add -Wno-return-type flag

This is needed because we are changing many signatures to return int instead of
void with some regex expressions but we are not modifying the returned value
which would potentially be a lot more tricky.

---
Makefile.rule | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.rule b/Makefile.rule
index 5f787a9c..6890046a 100644
index e57388844..3e2f23611 100644
--- a/Makefile.rule
+++ b/Makefile.rule
@@ -228,7 +228,7 @@ NO_AFFINITY = 1
@@ -256,7 +256,7 @@ NO_AFFINITY = 1
# Common Optimization Flag;
# The default -O2 is enough.
# Flags for POWER8 are defined in Makefile.power. Don't modify COMMON_OPT
-# COMMON_OPT = -O2
+COMMON_OPT = -O2 -Wno-return-type
+COMMON_OPT = -O2 -Wno-implicit-function-declaration

# gfortran option for LAPACK to improve thread-safety
# It is enabled by default in Makefile.system for gfortran
--
2.34.1
2 changes: 1 addition & 1 deletion recipes/recipes_emscripten/openblas/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source:
url: https://github.com/OpenMathLib/OpenBLAS/archive/refs/tags/v${{ version }}.tar.gz
sha256: f1003466ad074e9b0c8d421a204121100b0751c96fc6fcf3d1456bd12f8a00a1
patches:
- patches/0001-Add-Wno-return-type-flag.patch
- patches/0001-Add-Wno-return-type-flag.patch

build:
number: 0
Expand Down

0 comments on commit 90b8f9b

Please sign in to comment.