Skip to content

Commit fc0e005

Browse files
add known issues
1 parent 3b41302 commit fc0e005

File tree

4 files changed

+31
-3
lines changed

4 files changed

+31
-3
lines changed

.github/workflows/build-msys2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
8383
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/lapack_install
8484
-D SLICOT_TESTING:BOOL=ON
85-
-D SLICOT_BUILD_SHARED_LIBS:BOOL=${{ matrix.os.fortran == 'flang' && 'OFF' || 'ON' }}
85+
-D BUILD_SHARED_LIBS:BOOL=${{ matrix.os.fortran == 'flang' && 'OFF' || 'ON' }}
8686
-D CMAKE_EXE_LINKER_FLAGS="-Wl,--stack=2097152"
8787
8888

.github/workflows/build-unix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
9797
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/lapack_install
9898
-D SLICOT_TESTING:BOOL=ON
99-
-D SLICOT_BUILD_SHARED_LIBS:BOOL=ON
99+
-D BUILD_SHARED_LIBS:BOOL=ON
100100
101101
- name: Build
102102
# Execute tests defined by the CMake configuration.

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ MESSAGE(STATUS "CMAKE_Fortran_FLAGS_RELEASE: ${CMAKE_Fortran_FLAGS_RELEASE}")
172172
MESSAGE(STATUS "BLAS Libraries: ${BLAS_LIBRARIES}")
173173
MESSAGE(STATUS "LAPACK Libraries: ${LAPACK_LIBRARIES}")
174174
MESSAGE(STATUS "Build Type: ${CMAKE_BUILD_TYPE}")
175-
MESSAGE(STATUS "Debug: ${DEBUG}")
175+
MESSAGE(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
176176
MESSAGE(STATUS "Shared Libs: ${BUILD_SHARED_LIBS}")
177177
MESSAGE(STATUS "---------------------------------------------")
178178

KNOWN_ISSUES.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Known Issues
2+
============
3+
4+
Last Updated: April, 25th 2025
5+
6+
Failing test with Flang on Windows / MSYS2
7+
------------------------------------------
8+
9+
The tests for the routines
10+
11+
* `UD01DB`
12+
* `UD01ND`
13+
14+
fail if SLICOT is compiled using SHARED libraries. In general
15+
these two routines will not work with SLICOT as shared library
16+
under Windows if it is compiled with FLang.
17+
18+
The behavior was observed using
19+
```shell
20+
$ flang --version
21+
flang version 19.1.7
22+
Target: x86_64-w64-windows-gnu
23+
Thread model: posix
24+
InstalledDir: C:/msys64/clang64/bin
25+
```
26+
27+
The bug is known to LLVM community: https://github.com/llvm/llvm-project/issues/69952
28+

0 commit comments

Comments
 (0)