Updated OSACA from v0.5.2 to v0.6.1, which includes bug fixes, more
supported instructions for existing architectures and new architectures
like Intel Sapphire Rapids, Nvidia Grace Superchip/Neoverse V2, and AMD
Zen 4.
Fixes#5351
I just copied the changes in #4358 and checked that it works locally
with
```sh
make debug EXTRA_ARGS='--language zig'
```
although I had to make the following changes to get it to work locally:
```diff
diff --git a/etc/config/zig.defaults.properties b/etc/config/zig.defaults.properties
index 008aa215..f4db084c 100644
--- a/etc/config/zig.defaults.properties
+++ b/etc/config/zig.defaults.properties
@@ -1,4 +1,4 @@
-compilers=/usr/bin/zig
+compilers=/opt/homebrew/bin/zig
supportsBinary=true
compilerType=zig
objdumper=objdump
diff --git a/lib/compilers/zig.ts b/lib/compilers/zig.ts
index b0d55432..8e33767f 100644
--- a/lib/compilers/zig.ts
+++ b/lib/compilers/zig.ts
@@ -44,6 +44,7 @@ export class ZigCompiler extends BaseCompiler {
super(info, env);
this.compiler.supportsIntel = true;
this.compiler.supportsIrView = true;
+ this.compiler.semver = '0.11.0';
this.self_hosted_cli =
this.compiler.semver === 'trunk' ||
```
* Add Rust license info
* Add hipclang license info
Same as C++'s rocm one
* Add license info for Ada compilers
* Add licenses to most C compilers
* Add license to Nim compiler
* Add license to FPC
* Add license to Python
* Add license to Zig
* Add licenses for Scala
Separates it between 2 and 3 as it changed quite a lot,
so that we can more easily add new versions to it in the future
* Add license for Pony compiler
* Add Ocaml license
* Add Mlir license
* Add license to LLVM pseudolang
* Fix mlir license props
* Add license to Kotlin
* Add OpenJDK license
* Add Jakt license
* Add GHC licenses
* Remove licenses from platspec compilers
* Add C++ licenses
* Add link to open issue if license is wrong
* Fix button link
* Pass -g to TinyC by default
Closes#2748
* Sort C++ libs and tools alphabetically
* Sort C libs and tools alphabetically
* Add missing Zig C & C++ versions
* Enable semver for RISC-V Clang
Issue #2739
* Add missing RISC-V Clang 12.0
Issue #2739
* Improve RISC-V Clang config
* Improve C++ props file to make it more mantainable
* Add missing Zig C compiler id in compiler list
* Update etc/config/c++.amazon.properties
* Show different group name for each RISCV version
* Adds Zig-args
This is the first Zig library added to the site, so this implementation
might be broken in unexpected ways
See issue #2525
* Update lib/base-compiler.js
Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
Co-authored-by: Matt Godbolt <matt@godbolt.org>
* added rudimentary OSACA tool & analysis support
* added osaca to tools. using -trunk
* fixed copyright string and added myself to CONTRIBUTORS.md
* use OSACA v0.3.10