texlive[69572] Build/source/.github: [gh actions] work on solaris,

commits+preining at tug.org commits+preining at tug.org
Wed Jan 24 10:41:48 CET 2024


Revision: 69572
          https://tug.org/svn/texlive?view=revision&revision=69572
Author:   preining
Date:     2024-01-24 10:41:48 +0100 (Wed, 24 Jan 2024)
Log Message:
-----------
[gh actions] work on solaris, fix comments

Modified Paths:
--------------
    trunk/Build/source/.github/scripts/build-tl.sh
    trunk/Build/source/.github/workflows/main.yml

Modified: trunk/Build/source/.github/scripts/build-tl.sh
===================================================================
--- trunk/Build/source/.github/scripts/build-tl.sh	2024-01-24 09:12:18 UTC (rev 69571)
+++ trunk/Build/source/.github/scripts/build-tl.sh	2024-01-24 09:41:48 UTC (rev 69572)
@@ -49,6 +49,9 @@
        pkg_add gmake gcc pkgconf libX11 libXt libXaw fontconfig perl5
        ;;
      solaris)
+       pkg install pkg://solaris/developer/gcc-5
+       # maybe only the following is enough, and fortran and gobjc needs not be installed?
+       # pkg install pkg://solaris/developer/gcc/gcc-c++-5 pkg://solaris/developer/gcc/gcc-c++-5
        echo "Solaris support is WIP, please help!" >&2
        exit 1
        ;;
@@ -92,8 +95,16 @@
     BUILDARGS="--enable-arm-neon=on"
     ;;
   *-solaris)
-    export CC="/path/to/gcc-5.5 -m64"
-    export CXX="/path/to/g++-5.5 -m64"
+    export PATH=/opt/csw/bin:$PATH
+    export TL_MAKE=gmake
+    if [ $arch = "i386-solaris" ]
+    then
+      export CC="gcc -m32"
+      export CXX="g++ -m32"
+    else
+      export CC="gcc -m64"
+      export CXX="g++ -m64"
+    fi
     ;;
   *-freebsd)
     export TL_MAKE=gmake

Modified: trunk/Build/source/.github/workflows/main.yml
===================================================================
--- trunk/Build/source/.github/workflows/main.yml	2024-01-24 09:12:18 UTC (rev 69571)
+++ trunk/Build/source/.github/workflows/main.yml	2024-01-24 09:41:48 UTC (rev 69572)
@@ -21,12 +21,6 @@
 #   and there should be binaries for the new "release".
 # * use tl-update-bindir.
 #
-# The actual code for building and running is in the Github Action
-#   TeX-Live/tl-build-docker-action
-#
-# TODO
-# * it would be nice if we could adjust the docker action usage
-#   to override the dockerfile but this seems not to be possible at the moment
 
 # only build on pushed to trunk
 on:



More information about the tex-live-commits mailing list.