Skip to content

Commit 04021ce

Browse files
Sync from Do 25. Sep 12:04:38 CEST 2025
update script
1 parent 2e1a425 commit 04021ce

44 files changed

Lines changed: 2506072 additions & 183 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ next
2020
- GEMMTR test error GH #63
2121
- Add C++ support to header files GH #69
2222
- Detect F2C API for float return values
23-
23+
- Fix "Argument list too long" see GH #80
2424

2525
3.4.5 (January 30, 2025)
2626
------------------------

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ CheckPolicy(CMP0054 NEW)
99
CheckPolicy(CMP0069 NEW)
1010
CheckPolicy(CMP0075 NEW)
1111

12-
PROJECT(FlexiBLAS LANGUAGES C Fortran VERSION 3.4.82)
12+
PROJECT(FlexiBLAS LANGUAGES C Fortran VERSION 3.8.82)
1313

1414

1515
#
@@ -65,6 +65,7 @@ IF (NOT DEFINED FLEXIBLAS_DEFAULT_BLAS)
6565
ELSE()
6666
STRING (TOUPPER "${FLEXIBLAS_DEFAULT_BLAS}" FLEXIBLAS_DEFAULT_BLAS)
6767
ENDIF()
68+
OPTION(AGGREGATE_FILES "Aggregate files in large targets" OFF)
6869

6970
#
7071
# build type

INSTALL.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,12 @@ options:
203203
* `-DLTO=ON/OFF`
204204
Enables the Link Time Optimization in the compiler, if supported. By default
205205
this is enabled.
206+
* `-DAGGREGATE_FILES=OFF/ON`
207+
On some architectures or with very long paths, error messages like
208+
`Argument list too long` can appear and kill the building process. In this
209+
case you can set `-DAGGREGATE_FILES=ON`, which uses aggreated files for the
210+
LAPACK, LAPACKE, BLAS, and CBLAS interfaces. This results in compiling less
211+
files but a longer LTO procedure.
206212

207213
The `PROFILE=ON/OFF` option was removed from version 1.1.0 onward. Beginning
208214
with version 3.0.0 profiling is done using a hook functionality and is no
@@ -359,6 +365,9 @@ maintaining the Fedora integration.
359365
export CMAKE_PREFIX_PATH=/usr/local/opt/openblas:$CMAKE_PREFIX_PATH
360366
```
361367

368+
* If an error message like `Argument list too long` is shown during the
369+
compilation process, set `-DAGGREGATE_FILES=ON` as mentioned above
370+
362371
* If the Intel Compiler suite is used, please ensure that either the classic or
363372
the LLVM based compilers are used for both, C and Fortran.
364373

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FlexiBLAS - A BLAS and LAPACK wrapper library with runtime exchangeable backends
22
================================================================================
33

4-
**Version 3.4.82-2** - DOI: 10.5281/zenodo.14764701
4+
**Version 3.4.82-13** - DOI: 10.5281/zenodo.14764701
55

66
**Project Website:** https://www.mpi-magdeburg.mpg.de/projects/flexiblas
77

contributed/cblas/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,17 @@ set(SOURCES)
116116
list(APPEND SOURCES ${ZLEV1} ${ZLEV2} ${ZLEV3} ${ERRHAND})
117117
list(REMOVE_DUPLICATES SOURCES)
118118

119+
if (AGGREGATE_FILES)
120+
SET(SOURCESX)
121+
FOREACH(S IN LISTS SOURCES)
122+
IF (NOT ${S} MATCHES ".*\.c$")
123+
LIST(APPEND SOURCESX ${S})
124+
ENDIF()
125+
ENDFOREACH()
126+
SET(SOURCES cblas_joined.c ${SOURCESX})
127+
endif()
128+
129+
119130
add_library(${CBLASLIB}_obj OBJECT ${SOURCES})
120131
set_target_properties(${CBLASLIB}_obj PROPERTIES POSITION_INDEPENDENT_CODE ON)
121132
target_include_directories(${CBLASLIB}_obj PRIVATE

0 commit comments

Comments
 (0)