changeset 33371:ff7cb15e068d

GitHub-CI (cygwin): Disable visibility attributes for Cygwin. * .github/workflows/make.yaml (cygwin): None of the explicitly instantiated template classes are exported from the libraries currently. This might be an issue with the way we are instantiating the template classes. Or it might be an issue with the compiler of Cygwin (currently GCC 11.4.0). Disable building with visibility attributes in the Cygwin CI-rules for now. Maybe, test again when Cygwin updated to a newer major version of GCC.
author Markus Mützel <markus.muetzel@gmx.de>
date Wed, 10 Apr 2024 17:13:50 +0200
parents 90fb783da787
children e04e556d836c
files .github/workflows/make.yaml
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/make.yaml	Tue Apr 09 14:51:49 2024 +0200
+++ b/.github/workflows/make.yaml	Wed Apr 10 17:13:50 2024 +0200
@@ -1046,6 +1046,7 @@
       - name: configure
         # FIXME: Fix building with Java support.  Override JAVA_HOME for now.
         # FIXME: How do we get a working TeX environment in Cygwin?  Disable building the documentation for now.
+        # FIXME: Exporting symbols for instantiated template classes doesn't work currently. Maybe, test again when Cygwin updated to a newer compiler than GCC 11.4.0?
         run: |
           echo $PATH
           which $CC
@@ -1063,6 +1064,7 @@
             --enable-shared \
             --disable-java \
             --disable-docs \
+            --disable-lib-visibility-flags \
             JAVA_HOME="" \
             EGREP="grep -E" \
             FLIBS="-lgfortran -lquadmath"