Skip to content

octave #2196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 45 commits into
base: main
Choose a base branch
from
Draft

octave #2196

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
bf5818f
First draft
AntoinePrv Apr 7, 2025
cf466b7
Remove autotools reconfiguring
AntoinePrv Apr 10, 2025
d0f3a3d
Add COMMON patch
AntoinePrv Apr 10, 2025
25522bd
Reduce parallelism (OOM)
AntoinePrv Apr 10, 2025
46b3c5f
More flags
AntoinePrv Apr 10, 2025
e1374b8
Fix COMMON in odepack
AntoinePrv Apr 11, 2025
2cd007f
Delete odepack
AntoinePrv Apr 11, 2025
7254e44
Different pcre libdir
AntoinePrv Apr 11, 2025
e47e392
Disable threads
AntoinePrv Apr 14, 2025
943084d
Disable fftw threads
AntoinePrv Apr 14, 2025
7bba428
Try enable-threads=no
AntoinePrv Apr 14, 2025
713e64e
Try allowing thread undefined symbols
AntoinePrv Apr 14, 2025
332cca0
Try with disable-dlopen
AntoinePrv Apr 15, 2025
c1763f2
Fix disable java
AntoinePrv Apr 15, 2025
96135d1
Try EMCC_LINK_FLAGS
AntoinePrv Apr 15, 2025
48d5bc7
Try passing emscripten LDFLAGS separately
AntoinePrv Apr 16, 2025
4b49518
Show config.log
AntoinePrv Apr 16, 2025
e0ec006
Pass linker in CFLAGS and CXXFLAGS
AntoinePrv Apr 16, 2025
d6b01c8
Try quiet flang unknown args
AntoinePrv Apr 16, 2025
346a058
Remove quiet flag
AntoinePrv Apr 16, 2025
adecef6
Try wrapping flang
AntoinePrv Apr 16, 2025
73a428a
Remove no undefined symbol errors
AntoinePrv Apr 16, 2025
8b52ea9
Try force disable pthread
AntoinePrv Apr 17, 2025
766fa6d
Pretend to build for linux
AntoinePrv Apr 17, 2025
31eded3
Try force building as static libs
AntoinePrv Apr 18, 2025
9170381
Fix target option
AntoinePrv Apr 18, 2025
6295c84
gfortran and dlopen flag
AntoinePrv Apr 18, 2025
b000611
Remove occurences to -shared
AntoinePrv Apr 18, 2025
dd1b8b2
Try SIDE_MODULE
AntoinePrv Apr 18, 2025
e9ed9d4
Die -shared
AntoinePrv Apr 18, 2025
43c6bf8
Change shared ext
AntoinePrv Apr 22, 2025
66698e3
Everything as side module
AntoinePrv Apr 22, 2025
d883922
Remove duplicate symbols
AntoinePrv Apr 23, 2025
c5edf79
Try llvm-objcopy
AntoinePrv Apr 23, 2025
a007f7c
Enable multiple definitions
AntoinePrv Apr 23, 2025
66ee2ae
Add libflang
AntoinePrv Apr 24, 2025
be0cf3f
Try openblas-flang
AntoinePrv Apr 28, 2025
d71f25f
Try openblas lapack
AntoinePrv Apr 30, 2025
def0d16
Fix rattler-build patch bug
AntoinePrv May 7, 2025
0d8b773
Try f2c
AntoinePrv May 7, 2025
c21bd69
Disable 64
AntoinePrv May 7, 2025
243af26
Try custom calling convention
AntoinePrv May 7, 2025
75a52c0
Debug openblas
AntoinePrv May 13, 2025
b561c72
Sed Blas string
AntoinePrv May 13, 2025
beaf793
Try char array
AntoinePrv May 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
From ec4164b71152d510d6c5ee6d116f54aed04874b9 Mon Sep 17 00:00:00 2001
From: AntoinePrv <[email protected]>
Date: Thu, 3 Apr 2025 12:37:58 +0200
Subject: [PATCH] Force detection of shared libs

---
configure | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/configure b/configure
index 629c461..789f0b7 100755
--- a/configure
+++ b/configure
@@ -38121,20 +38121,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu

# Only expand once:

-
-
-if test $enable_shared = yes; then
- SHARED_LIBS=yes
-else
- SHARED_LIBS=no
- # Note: Octave doesn't build currently without shared libraries. And it
- # might not work or make sense at all to build static Octave libraries.
- # All existing logic for this use-case is still in place in case
- # someone would like to base on that to build static versions of the
- # libraries.
- as_fn_error $? "Building shared libraries is required!" "$LINENO" 5
-fi
-
+enable_shared=yes
+SHARED_LIBS=yes

if test $enable_static = yes; then
STATIC_LIBS=yes
--

462 changes: 462 additions & 0 deletions recipes/recipes_emscripten/octave/0002-Remove-COMMON.patch

Large diffs are not rendered by default.

Loading
Loading