From 040a4bdfb3a1163a5844bb5164e4e8f6edf5b1c4 Mon Sep 17 00:00:00 2001 From: "Jeffrey H. Johnson" Date: Fri, 3 May 2024 22:21:26 -0400 Subject: [PATCH] Update tested compilers (#420) Signed-off-by: Jeffrey H. Johnson --- .gitlab-ci/dmd/Dockerfile | 2 +- README.md | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci/dmd/Dockerfile b/.gitlab-ci/dmd/Dockerfile index bbc373cdc..d82fa306c 100644 --- a/.gitlab-ci/dmd/Dockerfile +++ b/.gitlab-ci/dmd/Dockerfile @@ -35,7 +35,7 @@ WORKDIR / RUN set -x && \ dnf -y install elinks --setopt=install_weak_deps=True && \ - (wget -q https://downloads.dlang.org/pre-releases/2.x/2.108.1/dmd-2.108.1~rc.1-0.fedora.x86_64.rpm || true) && \ + (wget -q https://downloads.dlang.org/releases/2.x/2.108.1/dmd-2.108.1-0.fedora.x86_64.rpm || true) && \ (wget -q "$(elinks -dump https://dlang.org/download.html 2> /dev/null | \ awk '/\/releases\/.*fedora.*x86_64.rpm$/ { print $2 }' 2> /dev/null | \ head -1)" || true) && \ diff --git a/README.md b/README.md index 9226a28cd..b71c2bef4 100644 --- a/README.md +++ b/README.md @@ -91,12 +91,12 @@ At this time, libsir is supported (*that is, it compiles and passes the test sui | System | Toolchain | | ------:|:--------- | -| **Linux** ≳2.6.32
(glibc ≳2.4, musl ≳1.2.3, uClibc‑ng ≳1.0.43) | **GCC** (4.8.4 ‑ 14.0.1),  **Clang** (3.8 ‑ 18.1.4),  **Oracle Studio C/C++** (≳12.6),  **Circle** (1.0.0‑200),  **IBM Advance Toolchain** (14 ‑ 17),  **IBM XL C/C++** (16.1.1.2 ‑ 16.1.1.15),  **IBM Open XL C/C++** (17.1.1.0 ‑ 17.1.1.2),  **NVIDIA HPC SDK C/C++** (23.5 ‑ 24.3),  **Arm HPC C/C++** (22.1 ‑ 23.10),  **DMD ImportC** (2.104.2 ‑ 2.108.1),  **AMD Optimizing C/C++** (4.0.0 ‑ 4.2.0),  **Intel oneAPI DPC++/C++** (2023.1 ‑ 2024.1.0),  **Open64** (5, AMD 4.5.2.1),  **Intel C++ Compiler Classic** (2021.9.0 ‑ 2021.10.0),  **Portable C Compiler** (1.2.0.DEVEL‑20230730),  **Kefir** (≳0.3.0),  **Chibicc** (2020.12.6),  **CompCert C** (3.11 ‑ 3.14, no‑TLS),  **Chamois‑CompCert C** (3.14‑20231130, TLS) | +| **Linux** ≳2.6.32
(glibc ≳2.4, musl ≳1.2.3, uClibc‑ng ≳1.0.43) | **GCC** (4.8.4 ‑ 14.0.1),  **Clang** (3.8 ‑ 18.1.5),  **Oracle Studio C/C++** (≳12.6),  **Circle** (1.0.0‑200),  **IBM Advance Toolchain** (14 ‑ 17),  **IBM XL C/C++** (16.1.1.2 ‑ 16.1.1.15),  **IBM Open XL C/C++** (17.1.1.0 ‑ 17.1.1.2),  **NVIDIA HPC SDK C/C++** (23.5 ‑ 24.3),  **Arm HPC C/C++** (22.1 ‑ 23.10),  **DMD ImportC** (2.104.2 ‑ 2.108.1),  **AMD Optimizing C/C++** (4.0.0 ‑ 4.2.0),  **Intel oneAPI DPC++/C++** (2023.1 ‑ 2024.1.0),  **Open64** (5, AMD 4.5.2.1),  **Intel C++ Compiler Classic** (2021.9.0 ‑ 2021.10.0),  **Portable C Compiler** (1.2.0.DEVEL‑20230730),  **Kefir** (≳0.3.0),  **Chibicc** (2020.12.6),  **CompCert C** (3.11 ‑ 3.14, no‑TLS),  **Chamois‑CompCert C** (3.14‑20231130, TLS) | | **Android** ≳5 | **Android NDK** (r25c ‑ r26d) | -| **IBM AIX** 7.2, 7.3 | **GCC** (8.3 ‑ 12.3),  **Clang** (18.1.2 ‑ 18.1.4),  **IBM XL C/C++** (16.1.0.3 ‑ 16.1.0.17),  **IBM Open XL C/C++** (17.1.1.1 ‑ 17.1.2.5) | +| **IBM AIX** 7.2, 7.3 | **GCC** (8.3 ‑ 12.3),  **Clang** (18.1.2 ‑ 18.1.5),  **IBM XL C/C++** (16.1.0.3 ‑ 16.1.0.17),  **IBM Open XL C/C++** (17.1.1.1 ‑ 17.1.2.5) | | **IBM i** (**PASE**) 7.5 | **GCC** (10.3.0 ‑ 10.5.0),  **IBM XL C/C++** (16.1.0.15 ‑ 16.1.0.17) | | **macOS** ≳10.15 | **Xcode** (11.7 ‑ 15.3),  **GCC** (10.4 ‑ 13.2.1),  **Clang** (11.0.3 ‑ 17.0.6),  **DMD ImportC** (2.105.0 ‑ 2.108.1),  **Intel C++ Compiler Classic** (2021.9.0 ‑ 2021.10.0) | -| **Windows** ≳10, 11 | **Microsoft Visual C/C++** (17.6 ‑ 17.9.6),  **Clang‑CL** (16.0.6 ‑ 18.1.4),  **GCC‑MinGW** (12.2.1 ‑ 14.0.1),  **LLVM‑MinGW** (15.0 ‑ 18.1.4),  **Embarcadero C++** (7.20 ‑ 7.70),  **OrangeC** (≳6.71.10) | +| **Windows** ≳10, 11 | **Microsoft Visual C/C++** (17.6 ‑ 17.9.6),  **Clang‑CL** (16.0.6 ‑ 18.1.5),  **GCC‑MinGW** (12.2.1 ‑ 14.0.1),  **LLVM‑MinGW** (15.0 ‑ 18.1.5),  **Embarcadero C++** (7.20 ‑ 7.70),  **OrangeC** (≳6.71.10) | | **Cygwin** 3.4 | **GCC** (11.2 ‑ 13.2.1) | | **FreeBSD** ≳11.3 | **GCC** (11.4 ‑ 13.2.1),  **Clang** (10 ‑ 17.0.6),  **DMD ImportC** (2.105.0 ‑ 2.108.1) | | **NetBSD** 9.2 | **GCC** (7.5 ‑ 13.2),  **Clang** (15.0.7 ‑ 17.0.6) | @@ -104,10 +104,10 @@ At this time, libsir is supported (*that is, it compiles and passes the test sui | **DragonFly** **BSD** 6.4 | **GCC** (8.3 ‑ 13),  **Clang** (10.0.1 ‑ 17.0.6) | | **GNU/Hurd** | **GCC** (9.5 ‑ 13.2),  **Clang** (9.0.1 ‑ 13.0.1) | | **Haiku** R1b4 | **GCC** (11.2 ‑ 13.2),  **Clang** (12.0.1 ‑ 17.0.6) | -| **Solaris** 11.4 | **GCC** (10.3 ‑ 11.2),  **Clang** (6 ‑ 18.1.4),  **Oracle Studio C/C++** (≳12.6) | +| **Solaris** 11.4 | **GCC** (10.3 ‑ 11.2),  **Clang** (6 ‑ 18.1.5),  **Oracle Studio C/C++** (≳12.6) | | **illumos** | **GCC** (7.5 ‑ 13.2),  **Clang** (15.0.7 ‑ 17.0.6) | | **SerenityOS** | **GCC** (13.1) | -| **WebAssembly/JS** | **Emscripten** (3.1.45 ‑ 3.1.57),  **Node.js** (20.5 ‑ 22.0.0) | +| **WebAssembly/JS** | **Emscripten** (3.1.45 ‑ 3.1.59),  **Node.js** (20.5 ‑ 22.1.0) | * libsir is known to work on most common (and many uncommon) architectures. It has been built and tested on **Intel** (x86\_64, i686, x32), **ARM** (ARMv6, ARMv7HF, ARMv8‑A), **POWER** (PowerPC, PPC64, PPC64le), **MIPS** (MIPS64, MIPS32, 74Kc), **SPARC** (SPARC64, V8, LEON3), **z/Architecture** (S390X), **SuperH** (SH‑4A), **RISC‑V** (RV32, RV64), **OpenRISC** (OR1200), **Kalray MPPA®** (Coolidge™, KVX), and **m68k** (ColdFire, 68020+). * This table only lists toolchains that have been tested and is by no means exhaustive—newer (or older) versions are likely to work without fanfare. In fact, if it *doesn't* work on your machine, it's probably a bug. @@ -174,14 +174,14 @@ A number of environment variables are available which affect the way in which li #### Recipes -| Recipe Type | Command |     Output file(s) | -|-----------------:|:----------------:|:-----------------------------------------------| -| Test suite (C) | `make tests` |
  • *build/bin/sirtests[.exe]*
| -| Test suite (C++) | `make tests++` |
  • *build/bin/sirtests++[.exe]*
| -| Example app | `make example` |
  • *build/bin/sirexample[.exe]*
| -| Static library | `make static` |
  • *build/lib/libsir_s.a*
| -| Shared library | `make shared` |
  • *build/lib/libsir.so*
| -| Installation | `make install` |
  • *$PREFIX/lib/libsir_s.a*
  • *$PREFIX/lib/libsir.so*
  • *$PREFIX/include/sir.h*
  • *$PREFIX/include/sir/\*.h*
| +| Recipe Type | Command |     Output file(s) | +|----------------------:|:----------------:|:-----------------------------------------------| +| Test suite (C) | `make tests` |
  • *build/bin/sirtests[.exe]*
| +| Test suite (C++) | `make tests++` |
  • *build/bin/sirtests++[.exe]*
| +| Example app | `make example` |
  • *build/bin/sirexample[.exe]*
| +| Static library | `make static` |
  • *build/lib/libsir_s.a*
| +| nShared library | `make shared` |
  • *build/lib/libsir.so*
| +| Installation | `make install` |
  • *$PREFIX/lib/libsir_s.a*
  • *$PREFIX/lib/libsir.so*
  • *$PREFIX/include/sir.h*
  • *$PREFIX/include/sir/\*.h*
| - See the [CI configuration file](https://github.com/aremmell/libsir/blob/master/.gitlab-ci.yml) for practical examples.