Skip to content

Instantly share code, notes, and snippets.

@kamidev
kamidev / zig_install_m3_max_macos.md
Last active June 7, 2024 02:57
zig_macos_m3_max_install

Personal notes building zig 0.14.0-dev.xxxx on Macbook M3 Max

This probably works on all current Apple Silicon Macs, but you must check other models yourself. Newer Intel Macs are also likely to work, with one significant difference: homebrew has a different default path.

20230926: Updated for macOS Sonoma, latest XCode Commandline Tools, homebrew-installed LLVM 17.01

20231001: Build zig binaries for both release and debug mode (with release mode as default)

@kamidev
kamidev / zig_macos_m1_install.md
Last active April 25, 2023 10:07
Building zig master on M1 Mac

Keybase proof

I hereby claim:

  • I am kamidev on github.
  • I am kamidev (https://keybase.io/kamidev) on keybase.
  • I have a public key ASCUNUEd9gHCjY-9B48oJMznxi-1psO0bKSMgA3azCJb7Ao

To claim this, I am signing this object:

#demo {
font-family: 'Helvetica', Arial, sans-serif;
}
a {
text-decoration: none;
color: #f66;
}
li {
line-height: 1.5em;
margin-bottom: 20px;
@kamidev
kamidev / gist:c8cb4569851f75173bdfcacc8993ac3d
Created June 9, 2016 11:44
Phoenix.new error using Erlang 19.0-rc.2
Erlang/OTP 19 [erts-8.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Interactive Elixir (1.3.0-rc.1) - press Ctrl+C to exit (type h() ENTER for help)
➜ installer git:(master) mix phoenix.new dev_app --dev
...
➜ installer git:(master) ✗ cd dev_app
➜ dev_app git:(master) ✗ mix phoenix.server
==> connection
Compiling 1 file (.ex)
Generated connection app