Commit Graph
42 Commits
Author SHA1 Message Date
Jan d96094c93a use OSACA v0.6.1 (#6961)
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.
2024-10-20 15:24:10 -05:00
T 15de3ca6b8 zig: update default version to 0.13.0 (#6934) 2024-10-08 22:03:50 +02:00
T 2ac9182103 Add zig 0.12.1 and 0.13.0 (#6706) 2024-07-25 21:15:39 +02:00
Boris Verkhovskiy cd75b4af4d Add Zig 0.12.0 (#6377) 2024-04-20 16:30:55 +02:00
Boris Verkhovskiy dddaed4d13 Add Zig 0.11.0 (#5986)
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' ||
```
2024-01-15 15:13:50 -06:00
Patrick Quist 4481bd0f3a Show up to date version for trunk compilers (#5571) 2023-10-15 15:56:43 +02:00
Jan f9a6191907 updated OSACA version to v0.5.2 (#5399)
Updated OSACA from v0.5.0 to v0.5.2
2023-08-21 21:12:27 -05:00
Jan 13d16fcb7b updated OSACA version to 0.5.0 (#4903)
Updated OSACA to version 0.5.0 with more supported uarchs and functionalities.
Please see also the corresponding [PR #979 in compiler-explorer/infra](https://github.com/compiler-explorer/infra/pull/979).
2023-04-01 17:04:09 -05:00
Marc Poulhiès 8240962b7a Add Zig 0.10.0 (#4358) 2022-11-28 23:09:01 +01:00
Rubén Rincón Blanco 5ccd9d2029 Add licenses to lots of compilers (#4305)
* 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
2022-11-18 19:06:54 +01:00
Jan 6427599097 updated OSACA version (#3504)
* updated OSACA version
2022-04-08 09:15:01 -05:00
Rubén Rincón Blanco ed8b612383 * Adds Zig 0.9.0 (#3284)
Closes #3277
2022-01-23 16:41:15 +01:00
Jan cd87ee06db updated OSACA version (#3098) 2021-11-05 14:29:34 +01:00
Jan f72f05d765 updated OSACA version (#3020) 2021-10-11 21:31:45 -05:00
Jan 15be1c3bfe updated OSACA version to 0.4.5 (#2796) 2021-07-22 14:24:22 -05:00
Rubén Rincón Blanco 78c0f67cab Config changes (#2764)
* 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
2021-07-06 05:21:56 +02:00
Rubén Rincón BlancoandMatt Godbolt 0fca6c8c0b Adds Zig-args (#2735)
* 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>
2021-06-25 15:52:05 +02:00
Patrick Quist e4f2818896 reintroduce 0.8 2021-06-09 22:06:07 +02:00
Patrick Quist 3f75fdbe5a Update zig.amazon.properties 2021-06-09 21:23:45 +02:00
Miguel Ojeda fe2cc6b56e Zig 0.8.0 (#2709)
* Zig 0.8.0

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

* Update Zig's objdumper

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2021-06-07 16:43:23 -04:00
Jan c3a171c979 updated OSACA version to 0.4.3 (#2656) 2021-05-10 13:26:03 +02:00
Jan 1f0d781617 updated OSACA version to 0.4.2 (#2645) 2021-05-05 11:51:31 +02:00
Matt Godbolt 81f774eaa7 OSACA 0.4.0. Closes #2604 2021-04-26 18:51:41 -05:00
Isaac Freund c0aa7b9b94 zig: add 0.7.0 and 0.7.1 versions (#2366) 2020-12-27 16:55:14 +01:00
Jan 11963f03cb updated OSACA version (#2352) 2020-12-14 09:10:12 -06:00
Julian a44f56de33 updated OSACA to 0.3.12 (#2324) 2020-11-12 20:59:38 -06:00
Jan 374b006204 osaca version bump (#2320) 2020-11-07 19:11:10 +01:00
Julian 63971bffc6 OSACA tool & analysis support (#2280)
* 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
2020-11-03 08:01:23 -06:00
RabsRincon 5d19e1ac42 * Add Zig 0.6.0 2020-04-22 14:37:53 +02:00
emekoi 5b0f785ad7 updated zig compiler and syntax file 2019-10-17 08:28:13 -05:00
RabsRincon aeb4985e6a Move demanglers and objdumpers to gcc 9.1 2019-08-03 08:48:04 +02:00
Partouf 893a43b272 disable stdin in various tools 2019-07-29 21:46:22 +02:00
Matt Godbolt 7eb3af3b84 Add zig 040 to the list 2019-05-14 14:31:44 -05:00
Shawn Landden 2b5ff13d8b Zig 0.4.0 released 2019-04-15 09:40:52 -05:00
RabsRincon 27536f3422 Fix Zig trunk
Closes #1304
2019-03-20 16:20:24 +01:00
Matt Godbolt 12826a3379 Rename zig trunk to ztrunk in ID. Addresses #1199 2018-12-06 22:04:19 -06:00
Partouf 7d1a83f0eb independent source tooling and postcompilation asm tooling 2018-10-31 12:08:02 +01:00
Marc Tiehuis 291c7c09e2 Fix zig 0.2.0 compilation failures
There is a bug in the zig 0.2.0 compiler when emitting an explicit
assembly output file. Binary dumping using objdump is required.
2018-10-02 21:24:52 +13:00
Marc Tiehuis 0d170a8afc Add zig 0.2.0 and 0.3.0 compiler 2018-09-29 12:10:27 +12:00
Marc Tiehuis 4748cef1ac Fix zig compiler binary path 2018-09-23 22:25:40 +12:00
Marc Tiehuis af27f7cc7f Rename zig master to trunk 2018-09-23 11:49:36 +12:00
Marc Tiehuis ffd04ac764 Add zig support 2018-09-09 23:36:17 +12:00