Comments (7)
Same issue
$brew install michaeleisel/zld/zld
Running brew update --preinstall
...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/core, homebrew/cask and powershell/tap).
==> New Formulae
git-workspace pget
==> Updated Formulae
Updated 51 formulae.
==> New Casks
electrum-grs ktalk
==> Updated Casks
Updated 28 casks.
==> Deleted Casks
jbidwatcher tonido
==> Tapping michaeleisel/zld
Cloning into '/usr/local/Homebrew/Library/Taps/michaeleisel/homebrew-zld'...
remote: Enumerating objects: 98, done.
remote: Counting objects: 100% (98/98), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 98 (delta 21), reused 92 (delta 20), pack-reused 0
Receiving objects: 100% (98/98), 11.78 KiB | 2.95 MiB/s, done.
Resolving deltas: 100% (21/21), done.
Tapped 1 formula (13 files, 19.5KB).
==> Downloading https://ghcr.io/v2/homebrew/core/cmake/manifests/3.23.1_1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/cmake/blobs/sha256:a6a698747b627db43349e0bccf4cbd63c65a18bfabb552dce7ecbde4d3d32962
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:a6a698747b627db43349e0bccf4cbd63c65a18bfabb552dce7ecbde4d3d32962?se=2022-05-20T10%3A
######################################################################## 100.0%
==> Downloading https://github.com/michaeleisel/zld/archive/refs/heads/homebrew-fixes-1.3.3.zip
==> Downloading from https://codeload.github.com/michaeleisel/zld/zip/refs/heads/homebrew-fixes-1.3.3
-=O=- # # # #
==> Installing zld from michaeleisel/zld
==> Installing dependencies for michaeleisel/zld/zld: cmake
==> Installing michaeleisel/zld/zld dependency: cmake
==> Pouring cmake--3.23.1_1.monterey.bottle.tar.gz
🍺 /usr/local/Cellar/cmake/3.23.1_1: 3,043 files, 44.9MB
==> Installing michaeleisel/zld/zld
==> make clean
==> make build_homebrew
Last 15 lines from /Users/terranceoshea/Library/Logs/Homebrew/zld/02.make:
patch -p1 -d dyld-733.6 < patches/dyld.patch
patching file include/mach-o/dyld.h
Hunk #1 succeeded at 150 (offset 6 lines).
missing header for unified diff at line 15 of patch
patching file include/mach-o/dyld_priv.h
Hunk #1 succeeded at 120 (offset -60 lines).
################################################################################################################################################################## 100.0%
############## 27.9%#################################################################################################################################################### 100.0%
###################### ################################################ ########### ######################### ### # # # ######## ####################################### ############ ######################### # # ########## ########################## ########## # 16.7#################%############ ################## ####### ########## #### ####### ##################################### ########## ########### ############# ######################## ##### ######## ### 21.7%############################################################# ############## ####### # ########################### ################################################################################################## ### ################################################### ########### ## ####### ###### ### ###################################### ############## ############## # ######## ############################ ######################## ############# ##### ####### #### ######### ############ ########################################################## ######### # ############################ ############################################################################################################################### ############ ### 78.1%################################################ ########################################################################################## ####################### ####### ########################################################################################### ####### ####### ##### 81.5% #### ####################################################################### ########################################################################## ############### ################# #### ################## ## ###################################### ############# #### ###################################################################### ### ############### ####################### ############################################################################################################################################################################################ 100.0%
################################################################################################################################################################## 100.0%
misc/checks.rb
/usr/local/opt/cmake/bin/cmake
xcodebuild -project ld/zld.xcodeproj -scheme zld -derivedDataPath build -configuration Release build ONLY_ACTIVE_ARCH=YES
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
make: *** [build_homebrew] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/michaeleisel/homebrew-zld/issues
$
from homebrew-zld.
You need to have Xcode installed for this. Or, try downloading the latest release (I will be releasing in the hour), which does not require it
from homebrew-zld.
For those wondering how to manually download the latest release while waiting for this repo to be updated.
Here's what I've used on my side
- Download the latest version from https://github.com/michaeleisel/zld/releases and unzip the file.
- Copy the executable into
/opt/homebrew/bin/
Or use the following commands:
wget -qO- https://github.com/michaeleisel/zld/releases/download/1.3.4/zld.zip | bsdtar -xvf- -C /opt/homebrew/bin/
chmod +x /opt/homebrew/bin/zld
from homebrew-zld.
It's been upgraded
from homebrew-zld.
Thanks @michaeleisel for keeping us updated on this matter.
On my side I still have the following error
❯ brew install zld
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
Running `brew update --auto-update`...
==> Downloading https://github.com/michaeleisel/zld/archive/709187361b9871984eaf92057c74cc4aa4a4906f.zip
Already downloaded: /Users/melkir/Library/Caches/Homebrew/downloads/328f1bc7a9d146e93da3220cd2711fcb2588882dff94fb642e3984e0e7a8b65d--zld-709187361b9871984eaf92057c74cc4aa4a4906f.zip
==> Installing zld from michaeleisel/zld
==> make clean
==> make build_homebrew
Last 15 lines from /Users/melkir/Library/Logs/Homebrew/zld/02.make:
############################################################################################################ 100.0%
######################################### 38.6%patch -p1 -d tapi-1100.0.11 < patches/tapi.patch
patching file include/tapi/Version.inc
############################################################################################################ 100.0%
##### 5.5%######### 8.7%Updating files: 100% (1560/1560), done.
patch -p1 -d dyld-940 < patches/dyld.patch
patching file include/mach-o/dyld.h
patching file include/mach-o/dyld_priv.h
Hunk #1 succeeded at 130 (offset 4 lines).
############################################################################################################ 100.0%
misc/checks.rb
/opt/homebrew/opt/cmake/bin/cmake
xcodebuild -project ld/zld.xcodeproj -scheme zld -derivedDataPath build -configuration Release build ONLY_ACTIVE_ARCH=YES
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
make: *** [build_homebrew] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/michaeleisel/homebrew-zld/issues
from homebrew-zld.
Ah right, my mistake. The new release is runnable without Xcode, but not buildable without Xcode. Anyways, while I have some people in this GH issue, have any of you tried lld? It has become quite stable recently is generally much faster.
from homebrew-zld.
I don't think LLD is available on macOS at the moment. At least that what's the doc from Bevy says.
At the moment I didn't see any real difference between the default configuration and the optimization with zld but their codes samples might not be representative at all 🤓
from homebrew-zld.
Related Issues (11)
- Failure upgrading 1.2.1 to 1.3.0 on 11.3.1 x86_64 HOT 6
- Does not like Xcode CLI build tools when installing HOT 1
- Dependency on full xcode install HOT 1
- Problem when installing with homebrew HOT 3
- Cannot build as "'pstl/execution' file not found" HOT 1
- MacOS HomeBrew issue HOT 2
- tar error on install HOT 4
- Installing the zld on M1 Mac fails HOT 1
- Brew install error HOT 1
- build error on macos 14.6.1 apple m3 max
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 homebrew-zld.