Code Monkey home page Code Monkey logo

Comments (6)

andrewrk avatar andrewrk commented on August 21, 2024 3

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.

maxice8 avatar maxice8 commented on August 21, 2024

ping

from void-packages.

Vaelatern avatar Vaelatern commented on August 21, 2024

It's out of beta?

from void-packages.

Duncaen avatar Duncaen commented on August 21, 2024
# 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.

notramo avatar notramo commented on August 21, 2024

Why does it have to come out of beta?
(For example, Crystal is also in beta, but shipped in the repos.)

from void-packages.

Duncaen avatar Duncaen commented on August 21, 2024

zig is already packaged and has been updated to 0.6.0 a few days ago.

from void-packages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.