./lang/zig [zig compiler and toolchain]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 0.8.0pre1038, Package name: zig-0.8.0pre1038
Maintained by: Sebastien Marie
Master sites:
Zig is a general-purpose programming language and toolchain for
maintaining robust, optimal, and reusable software.

- Robust : behavior is correct even for edge cases such as out of
- Optimal : write programs the best way they can behave and perform.
- Reusable : the same code works in many environments which have
different constraints.
- Maintainable : precisely communicate intent to the compiler and
other programmers. The language imposes a low overhead to reading
code and is resilient to changing requirements and environments.

- Simple Language

Focus on debugging your application rather than debugging your
programming language knowledge.

- No hidden control flow.
- No hidden memory allocations.
- No preprocessor, no macros.

- Comptime

A fresh approach to metaprogramming based on compile-time code
execution and lazy evaluation.

- Call any function at compile-time.
- Manipulate types as values without runtime overhead.
- Comptime emulates the target architecture.

- Performance Meets Safety

Write fast, clear code capable of handling all error conditions.

- The language gracefully guides your error handling logic.
- Configurable runtime checks help you strike a balance between
performance and safety guarantees.
- Take advantage of vector types to express SIMD instructions

Filesize: 57361.082 KB
Version History (View Complete History)
  • (2021-02-28) Package added to openports.se, version zig-0.8.0pre1038 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2021-03-27 04:09:43 by Sebastien Marie | Files touched by this commit (1)
Log message:
lang/zig marks arm64 and powerpc64 BROKEN
no need to waste build time for now as build didn't complete
- on arm64, the generated binary segfaults
- on powerpc64, the build fails due to undefined symbols. gkoehler@
did the analyzis, and it seems that zig wants to IEEE quad floats
(which are missing for now on powerpc64)
   2021-03-01 05:52:45 by Sebastien Marie | Files touched by this commit (2)
Log message:
lang/zig: correctly pass CXXFLAGS
and while here,
- set DPB_PROPERTIES=parallel (we are building llvm)
- rework on DESCR
   2021-02-28 08:36:55 by Sebastien Marie | Files touched by this commit (2)
Log message:
lang/zig: various build tricks
- verbose build
- pass MODCMAKE_PORT_BUILD=yes to cmake to respect CFLAGS