You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Packages here are named differently and installed in different directories. e.g.
24
24
25
25
In case you reached here check the following:
26
26
27
-
- Run `pkgin se zig` to see if the Zig version you want (e.g. 0.14.0) is available in NetBSD official repos. If it is available then probably it is not necessary to use this repo at all.
27
+
- Run `pkgin se zig` to see if the Zig version you want (e.g. 0.15.0) is available in NetBSD official repos. If it is available then probably it is not necessary to use this repo at all.
28
28
- If you want to skip building, you might [find releases](https://github.com/hellium6/zig-master-netbsd/releases) with binary packages which you can install in this order - llvm, lld, clang, zig-master - with something like: `doas pkg_add /path/to/some-package.tgz`
29
29
- If you want to build from source, follow the instructions below.
30
30
- Building from source might require some hours or days (depending on your hardware) to finish as some packages have big codebases. Megabytes of sources producing gigabytes of outputs.
@@ -59,7 +59,7 @@ ZIGF=$(curl -s https://ziglang.org/download/ | grep '\-dev' | head -n1 | sed -ne
59
59
## put the fetched value in previous command as DISTNAME
60
60
sed -i -e "s/^DISTNAME=.*/DISTNAME= $ZIGF/" Makefile
zig-master-0.14.0-dev.3462+edabcf619 Programming language designed for robustness and clarity
108
+
zig-master-0.15.0-dev.77+aa8aa6625 Programming language designed for robustness and clarity
109
109
```
110
110
111
111
Example of working with both Zig and Zig master on the same system:
@@ -117,7 +117,7 @@ $ doas pkgin in zig
117
117
$ zig version
118
118
0.13.0
119
119
$ zig-master version
120
-
0.14.0
120
+
0.15.0-dev.77+aa8aa6625
121
121
### For lang/zig-0.14.0 you'd have to run zig-0.14.0 or
122
122
### if you've changed DISTNAME, type "zig" and press tab twice for hint.
123
123
### Example:
@@ -128,7 +128,7 @@ $ zig-master version
128
128
$ alias zig=zig-master
129
129
### above can be added in ~/.bashrc to do this automatically on startup
130
130
$ zig version
131
-
0.14.0
131
+
0.15.0-dev.77+aa8aa6625
132
132
$ cd`mktemp -d`
133
133
$ zig init
134
134
info: created build.zig
@@ -147,10 +147,10 @@ Example of uninstalling a package:
147
147
148
148
```sh
149
149
$ pkg_info -a | grep ^zig
150
-
zig-master-0.14.0-dev.3462+edabcf619 Programming language designed for robustness and clarity
150
+
zig-master-0.15.0-dev.77+aa8aa6625 Programming language designed for robustness and clarity
151
151
### For lang/zig-0.14.0 the output might be something like:
152
152
### zig-isolated0140-0.14.0 Programming language designed for robustness and clarity (prefix isolated)
153
-
$ doas pkg_delete zig-master-0.14.0-dev.3462+edabcf619
153
+
$ doas pkg_delete zig-master-0.15.0-dev.77+aa8aa6625
154
154
```
155
155
156
156
License: Anything added by me in this repo (not what is based on another project) is public domain or CC0 1.0 Universal. For things taken from other projects, refer to those projects, such as [pkgsrc](https://github.com/NetBSD/pkgsrc).
0 commit comments