alan-turing-institute / whatwhat

A reimagining of nowwhat in OCaml
MIT License
0 stars 0 forks source link

Feature request: Intel Mac bottle #104

Closed jemrobinson closed 1 year ago

jemrobinson commented 1 year ago

Can we add a bottle for Intel Macs?

jemrobinson commented 1 year ago

I built one and gave it to @dsj976. It's been uploaded to homebrew and worked for me. Does anyone else with an Intel Mac want to test?

dsj976 commented 1 year ago

The Intel bottle is available in the latest release of whatwhat and, in principle, should be used by Homebrew automatically when anyone with an Intel Mac runs brew install whatwhat, instead of installing from source

yongrenjie commented 1 year ago

I've just tested this on my home laptop (Intel 2019 MBP, macOS 13.4) and can confirm that this works, so I'll close this issue. Thanks @jemrobinson and @dsj976!

I'm not sure if it will work on pre-Ventura versions of macOS, but that's probably not something that is hugely important.

$ whatwhat
-bash: whatwhat: command not found

$ brew tap alan-turing-institute/hut23
==> Tapping alan-turing-institute/hut23
Cloning into '/usr/local/Homebrew/Library/Taps/alan-turing-institute/homebrew-hut23'...
remote: Enumerating objects: 248, done.
remote: Counting objects: 100% (89/89), done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 248 (delta 42), reused 63 (delta 30), pack-reused 159
Receiving objects: 100% (248/248), 50.76 KiB | 721.00 KiB/s, done.
Resolving deltas: 100% (125/125), done.
Tapped 1 formula (16 files, 67KB).

$ brew install whatwhat
==> Fetching dependencies for alan-turing-institute/hut23/whatwhat: openssl@3
==> Fetching openssl@3
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.1.1
######################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:a2a6fca7
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################### 100.0%
==> Fetching alan-turing-institute/hut23/whatwhat
==> Downloading https://github.com/alan-turing-institute/whatwhat/releases/downl
==> Downloading from https://objects.githubusercontent.com/github-production-rel
######################################################################### 100.0%
==> Installing whatwhat from alan-turing-institute/hut23
==> Installing dependencies for alan-turing-institute/hut23/whatwhat: openssl@3
==> Installing alan-turing-institute/hut23/whatwhat dependency: openssl@3
==> Pouring openssl@3--3.1.1.ventura.bottle.tar.gz
🍺  /usr/local/Cellar/openssl@3/3.1.1: 6,495 files, 29.9MB
==> Installing alan-turing-institute/hut23/whatwhat
==> Pouring whatwhat-0.0.19.ventura.bottle.4.tar.gz
🍺  /usr/local/Cellar/whatwhat/0.0.19: 5 files, 8.2MB
==> Running `brew cleanup whatwhat`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

$ whatwhat

E0002 Missing secrets file
[...]