dev-lang / zig

A robust, optimal, and maintainable programming language

Official package sites : https://ziglang.org/ ·

v9999 :: 0 :: gentoo

Modified
License
MIT
USE flags
stage2 test threads

v0.9.1 :: 0 :: gentoo

Modified
License
MIT
Keywords
~amd64 ~arm ~arm64
USE flags
test threads

General

stage2
Install stage2 compiler (written in Zig) alongside stage1 compiler (written in C++ and Zig)
test
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
threads
Add threads support for various packages. Usually pthreads

sys-devel / clang : C language family frontend for LLVM

sys-devel / lld : The LLVM linker (link editor)

sys-devel / llvm : Low Level Virtual Machine

sys-devel / clang : C language family frontend for LLVM

sys-devel / lld : The LLVM linker (link editor)

sys-devel / llvm : Low Level Virtual Machine

778398
dev-lang/zig-0.7.1 CMake Error: LLD_INCLUDE_DIRS not found
780612
dev-lang/zig-0.7.1 - CMake Error at /.../install.cmake:36 (message):
796596
dev-lang/zig: keywording
800206
dev-lang/zig-0.8.1 - zig1:(.text+<snip>): undefined reference to LLVMInitializeAArch64Target
823086
dev-lang/zig-0.8.1-r1 fails to build on x86 (allocation failed)
829959
dev-lang/zig-0.9.0 fails tests
Repository mirror & CI · gentoo
Merge updates from master
BratishkaErik · gentoo
dev-lang/zig: add QA_FLAGS_IGNORED
Signed-off-by: BratishkaErik <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/25573 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
BratishkaErik · gentoo
dev-lang/zig: add threads USE flag
Signed-off-by: BratishkaErik <bratishkaerik@getgoogleoff.me> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
BratishkaErik · gentoo
dev-lang/zig: add stage2 support (on -9999)
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: BratishkaErik <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/25085 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
BratishkaErik · gentoo
dev-lang/zig: update SRC_URI
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: BratishkaErik <bratishkaerik@getgoogleoff.me> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-lang/zig: drop 0.7.1, 0.8.1-r1
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Ionen Wolkens · gentoo
dev-lang/zig: propagate #836310 fix to other versions + live
Thanks for 0.9.1 fix. Bug: https://bugs.gentoo.org/836310 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Joonas Niilola · gentoo
dev-lang/zig: fix pkg_setup on 0.9.1
- two eclasses export pkg_setup causing a conflict. Closes: https://bugs.gentoo.org/836310 Thanks-to: Ionen Wolkens <ionen@gentoo.org> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
BratishkaErik · gentoo
dev-lang/zig: add memory requirement via check-reqs
see https://github.com/ziglang/zig/issues/6485 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: BratishkaErik <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/24734 Signed-off-by: Florian Schmaus <flow@gentoo.org>
BratishkaErik · gentoo
dev-lang/zig: drop old version
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: BratishkaErik <bratishkaerik@getgoogleoff.me> Signed-off-by: Florian Schmaus <flow@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
BratishkaErik · gentoo
dev-lang/zig: New version 0.9.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: BratishkaErik <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/24412 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-lang/zig: Keyword 0.9.0 arm, #796596
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-lang/zig: fix WhitespaceFound
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
dev-lang/zig: add 0.9.0
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-lang/zig: Keyword 0.8.1-r1 arm64, #796596
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Patrick Lauer · gentoo
dev-lang/zig: Disable experimental useflag for newest
Doesn't build otherwise, can't be fixed easily as upstream assumes full LLVM_TARGETS available Bug: https://bugs.gentoo.org/800206 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-lang/zig: depend on LLVM 13 in live ebuild
Closes: https://bugs.gentoo.org/816084 Reported-by: Martin Sekera <sekerama@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
dev-lang/zig: add 0.8.1
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Joonas Niilola · gentoo
dev-lang/zig: add missing dies
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Aisha Tammy · gentoo
dev-lang/zig: enable tests for 0.7.1
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/21296 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Aisha Tammy · gentoo
dev-lang/zig: version bump to 0.8.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/21175 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-lang/zig: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Aisha Tammy · gentoo
dev-lang/zig: version bump to 0.7.1
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/19606 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-lang/zig: Remove old (LLVM 8)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andreas Sturmlechner · gentoo
dev-lang/zig: Switch to cmake.eclass
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Nick Erdmann · gentoo
dev-lang/zig: bump to 0.5.0
Signed-off-by: Nick Erdmann <n@nirf.de> Closes: https://github.com/gentoo/gentoo/pull/13107 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Nick Erdmann · gentoo
dev-lang/zig: require llvm 9
Signed-off-by: Nick Erdmann <n@nirf.de> Closes: https://github.com/gentoo/gentoo/pull/12979 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Repository mirror & CI · gentoo
Merge updates from master
Nick Erdmann · gentoo
dev-lang/zig: remove zig-0.4.0.ebuild
Signed-off-by: Nick Erdmann <n@nirf.de> Closes: https://github.com/gentoo/gentoo/pull/12606 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Nick Erdmann · gentoo
dev-lang/zig: switch to EAPI=6, use patch files
Signed-off-by: Nick Erdmann <n@nirf.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Nick Erdmann · gentoo
dev-lang/zig: add version 9999
Signed-off-by: Nick Erdmann <n@nirf.de> Closes: https://github.com/gentoo/gentoo/pull/12599 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Joonas Niilola · gentoo
dev-lang/zig: specify LLVM SLOT
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Nick Erdmann · gentoo
dev-lang/zig: new package
Zig is an open-source programming language designed for robustness, optimality, and maintainability. Feature Highlights - Manual memory management. Memory allocation failure is handled correctly. Edge cases matter! - Zig competes with C instead of depending on it. The Zig Standard Library does not depend on libc. - Small, simple language. Focus on debugging your application rather than debugging your knowledge of your programming language. - A fresh take on error handling that resembles what well-written C error handling looks like, minus the boilerplate and verbosity. - Debug mode optimizes for fast compilation time and crashing with a stack trace when undefined behavior would happen. - ReleaseFast mode produces heavily optimized code. What other projects call "Link Time Optimization" Zig does automatically. - ReleaseSafe mode produces optimized code but keeps safety checks enabled. Disable safety checks in the bottlenecks of your code. - Generic data structures and functions. - Compile-time reflection and compile-time code execution. No preprocessor. - Concurrency via coroutines. Async/await is thread-safe, non-blocking, and makes no syscalls, and therefore available in freestanding mode. You can multiplex coroutines onto a thread pool in userland for M:N concurrency. - Import .h files and directly use C types, variables, and functions. - Export functions, variables, and types for C code to depend on. Automatically generate .h files. - Optional type instead of null pointers. - Order independent top level declarations. - Friendly toward package maintainers. Reproducible build, 3-step bootstrapping process. - Cross-compiling is a first-class use case. Package-Manager: portage-2.3.66 Closes: https://bugs.gentoo.org/683386 Signed-off-by: Nick Erdmann <n@nirf.de> Closes: https://github.com/gentoo/gentoo/pull/12110 Signed-off-by: Joonas Niilola <juippis@gentoo.org>