Comments (6)
Language creator here. It'll be in "beta" until 1.0.0. That's the point at which I can look at someone in the eyes and say, "you can use this in production for mission critical software."
Once self-hosted is complete, the build process will always be exactly 3 steps, from source to final binaries, and the cmake build will do all the steps. You should be able to use the "default" cmake build invocation of the system package manager once everything is done. See ziglang/zig#853 for more details.
from void-packages.
ping
from void-packages.
It's out of beta?
from void-packages.
# Template file for 'zig'
pkgname=zig
version=0.4.0
revision=1
build_style=cmake
configure_args="-DZIG_STATIC=FALSE"
hostmakedepends="cmake"
makedepends="clang libxml2-devel llvm8 ncurses-devel zlib-devel"
short_desc="Programming language designed for robustness, optimality, and clarity"
maintainer="Duncaen <[email protected]>"
license="MIT"
homepage="https://ziglang.org/"
distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
checksum=fec1f3f6b359a3d942e0a7f9157b3b30cde83927627a0e1ea95c54de3c526cfc
post_extract() {
# make it link llvm dynamically
vsed -e '/OR ZIG_STATIC/c\if(false)' -i cmake/Findllvm.cmake
# don't install build artefacts
vsed -i -e '/${ZIG_CPP_LIB_DIR}/d' CMakeLists.txt
}
post_install() {
vlicense LICENSE
}
I didn't get cross builds working iirc, because something pulls in libgcc which then removed some chroot-
packages.
from void-packages.
Why does it have to come out of beta?
(For example, Crystal is also in beta, but shipped in the repos.)
from void-packages.
zig is already packaged and has been updated to 0.6.0
a few days ago.
from void-packages.
Related Issues (20)
- hyprland now is wlroot independent HOT 5
- Firefox crashes ( window closes) from time to time HOT 28
- unrar doesn't work (illegal hardware instruction)
- Mangohud issues with specific install ? HOT 3
- Cannot update bash: REMOVE script failed to execute pre ACTION HOT 6
- XBPS ordering problem with ZFS and multiple kernel versions (root on zfs) HOT 4
- NetworkManager-openconnect is unusable HOT 1
- Package request: python3-fastapi HOT 1
- Plasma6 weather widgets crash when try to input location! HOT 1
- Package request: Nginx Unit HOT 2
- Package request: python3-mesop HOT 3
- qmake build-helper doesn't support qt6 HOT 3
- Package request: Activity Watch
- dnsmasq: enable DNSSEC build option by default HOT 3
- Package request: python3-pqdm
- Package request: floorp HOT 6
- Qt6 crash: undefined symbol: version Qt_6_PRIVATE_API HOT 15
- Telegram-desktop broken / failing to start after recent qt6 6.7 update HOT 2
- Package request: twoken HOT 1
- Cannot load library /usr/lib/qt6/qml/org/kde/elisa/libelisaqmlplugin.so
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from void-packages.