comparison .github/workflows/make.yaml @ 33236:c0ee9e8e3117

maint: Merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 22 Mar 2024 19:41:48 +0100
parents b9c6ed013576 eff20d5a5ad5
children 5565b3e6eb60 ff7cb15e068d
comparison
equal deleted inserted replaced
33234:e104e9f0cf62 33236:c0ee9e8e3117
426 # cppflags: "-I/usr/local/opt/hdf5/include -I/usr/local/opt/gl2ps/include -I/usr/local/opt/glpk/include -I/usr/local/opt/pcre/include -I/usr/local/opt/qscintilla2/include -I/usr/local/opt/suite-sparse/include -I/usr/local/opt/sundials/include" 426 # cppflags: "-I/usr/local/opt/hdf5/include -I/usr/local/opt/gl2ps/include -I/usr/local/opt/glpk/include -I/usr/local/opt/pcre/include -I/usr/local/opt/qscintilla2/include -I/usr/local/opt/suite-sparse/include -I/usr/local/opt/sundials/include"
427 # ldflags: "-L/usr/local/opt/hdf5/lib -L/usr/local/opt/gl2ps/lib -L/usr/local/opt/glpk/lib -L/usr/local/opt/pcre/lib -L/usr/local/opt/qscintilla2/lib -L/usr/local/opt/suite-sparse/lib -L/usr/local/opt/sundials/lib" 427 # ldflags: "-L/usr/local/opt/hdf5/lib -L/usr/local/opt/gl2ps/lib -L/usr/local/opt/glpk/lib -L/usr/local/opt/pcre/lib -L/usr/local/opt/qscintilla2/lib -L/usr/local/opt/suite-sparse/lib -L/usr/local/opt/sundials/lib"
428 - compiler: clang 428 - compiler: clang
429 cc: "clang" 429 cc: "clang"
430 cxx: "clang++" 430 cxx: "clang++"
431 # Qt6 doesn't install pkg-config files on macOS. See: https://bugreports.qt.io/browse/QTBUG-86080 431 # Qt6 doesn't install pkg-config files on macOS by default. See: https://bugreports.qt.io/browse/QTBUG-86080
432 # So, we need to provide the necessary flags manually. 432 # Homebrew installs "unofficial" .pc files for it in a non-default location.
433 qt-cppflags: "-I${HOMEBREW_PREFIX}/opt/qt@6/include/QtCore -I${HOMEBREW_PREFIX}/opt/qt@6/include/QtGui -I${HOMEBREW_PREFIX}/opt/qt@6/include/QtHelp -I${HOMEBREW_PREFIX}/opt/qt@6/include/QtNetwork -I${HOMEBREW_PREFIX}/opt/qt@6/include/QtOpenGL -I${HOMEBREW_PREFIX}/opt/qt@6/include/QtOpenGLWidgets -I${HOMEBREW_PREFIX}/opt/qt@6/include/QtPrintSupport -I${HOMEBREW_PREFIX}/opt/qt@6/include/QtSql -I${HOMEBREW_PREFIX}/opt/qt@6/include/QtWidgets -I${HOMEBREW_PREFIX}/opt/qt@6/include/QtXml -I${HOMEBREW_PREFIX}/opt/qt@6/include/QtCore5Compat" 433 qt-pkg-config-path: opt/qt@6/libexec/lib/pkgconfig
434 qt-ldflags: "-F${HOMEBREW_PREFIX}/opt/qt@6/Frameworks"
435 qt-libs: "-framework QtCore -framework QtGui -framework QtHelp -framework QtNetwork -framework QtOpenGL -framework QtOpenGLWidgets -framework QtPrintSupport -framework QtSql -framework QtWidgets -framework QtXml -framework QtCore5Compat"
436 - os: macos-13 434 - os: macos-13
437 qt: "5" 435 qt: "5"
438 cc: "clang" 436 cc: "clang"
439 cxx: "clang++" 437 cxx: "clang++"
440 # SUNDIALS >= 6.5.0 doesn't compile with the default flags determined 438 # SUNDIALS >= 6.5.0 doesn't compile with the default flags determined
441 # by the configure script. Set CXX manually to enable building with it. 439 # by the configure script. Set CXX manually to enable building with it.
442 cxx-compiler-flags: "-std=gnu++14" 440 cxx-compiler-flags: "-std=gnu++14"
441 qt-pkg-config-path: opt/qt@5/lib/pkgconfig
443 442
444 env: 443 env:
445 CC: ${{ matrix.cc }} 444 CC: ${{ matrix.cc }}
446 CXX: ${{ matrix.cxx }} 445 CXX: ${{ matrix.cxx }}
447 446
548 CXX="${CXX} ${{ matrix.cxx-compiler-flags }}" \ 547 CXX="${CXX} ${{ matrix.cxx-compiler-flags }}" \
549 F77="ccache gfortran" \ 548 F77="ccache gfortran" \
550 CPPFLAGS="-I${HOMEBREW_PREFIX}/opt/gettext/include -I${HOMEBREW_PREFIX}/opt/icu4c/include -I${HOMEBREW_PREFIX}/opt/qt@${{ matrix.qt }}/include -I${HOMEBREW_PREFIX}/opt/readline/include -I${HOMEBREW_PREFIX}/opt/sqlite/include $MY_CPPFLAGS -I${HOMEBREW_PREFIX}/include" \ 549 CPPFLAGS="-I${HOMEBREW_PREFIX}/opt/gettext/include -I${HOMEBREW_PREFIX}/opt/icu4c/include -I${HOMEBREW_PREFIX}/opt/qt@${{ matrix.qt }}/include -I${HOMEBREW_PREFIX}/opt/readline/include -I${HOMEBREW_PREFIX}/opt/sqlite/include $MY_CPPFLAGS -I${HOMEBREW_PREFIX}/include" \
551 CXXFLAGS="-O2 -g" \ 550 CXXFLAGS="-O2 -g" \
552 LDFLAGS="-L${HOMEBREW_PREFIX}/opt/bison/lib -L${HOMEBREW_PREFIX}/opt/gettext/lib -L${HOMEBREW_PREFIX}/opt/icu4c/lib -L${HOMEBREW_PREFIX}/opt/readline/lib -L${HOMEBREW_PREFIX}/opt/sqlite/lib $MY_LDFLAGS -L${HOMEBREW_PREFIX}/lib" \ 551 LDFLAGS="-L${HOMEBREW_PREFIX}/opt/bison/lib -L${HOMEBREW_PREFIX}/opt/gettext/lib -L${HOMEBREW_PREFIX}/opt/icu4c/lib -L${HOMEBREW_PREFIX}/opt/readline/lib -L${HOMEBREW_PREFIX}/opt/sqlite/lib $MY_LDFLAGS -L${HOMEBREW_PREFIX}/lib" \
553 PKG_CONFIG_PATH="${HOMEBREW_PREFIX}/opt/openblas/lib/pkgconfig:${HOMEBREW_PREFIX}/opt/icu4c/lib/pkgconfig:${HOMEBREW_PREFIX}/opt/qt@${{ matrix.qt }}/lib/pkgconfig" \ 552 PKG_CONFIG_PATH="${HOMEBREW_PREFIX}/opt/openblas/lib/pkgconfig:${HOMEBREW_PREFIX}/opt/icu4c/lib/pkgconfig:${HOMEBREW_PREFIX}/${{ matrix.qt-pkg-config-path }}" \
554 --with-qt=${{ matrix.qt }} \ 553 --with-qt=${{ matrix.qt }} \
555 QCOLLECTIONGENERATOR="qhelpgenerator" \ 554 QCOLLECTIONGENERATOR="qhelpgenerator" \
556 QT_CPPFLAGS="${{ matrix.qt-cppflags }}" \
557 QT_LDFLAGS="${{ matrix.qt-ldflags }}" \
558 QT_LIBS="${{ matrix.qt-libs }}" \
559 --with-x=no \ 555 --with-x=no \
560 --with-blas="-L${HOMEBREW_PREFIX}/opt/openblas/lib -lopenblas" \ 556 --with-blas="-L${HOMEBREW_PREFIX}/opt/openblas/lib -lopenblas" \
561 --with-java-homedir="${HOMEBREW_PREFIX}/opt/openjdk" \ 557 --with-java-homedir="${HOMEBREW_PREFIX}/opt/openjdk" \
562 --prefix="${HOME}/usr" 558 --prefix="${HOME}/usr"
563 559