[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-users
Subject:    Re: Does MacPorts need ALL of Xcode?
From:       Chris Jones <jonesc () hep ! phy ! cam ! ac ! uk>
Date:       2021-09-26 22:42:04
Message-ID: A109E9F0-81F3-4756-81B0-889CC0162AE6 () hep ! phy ! cam ! ac ! uk
[Download RAW message or body]

The majority of ports will indeed build fine with just the CLT installed. There are a \
number though where the build does indeed require a complete Xcode installation, \
which is why the baseline recommendation is to install Xcode. However if you are ok \
with perhaps running into the occasional port failure (the likelihood for which \
depends on which ports you use) you likely can get by just fine with just the CLT.

Chris

> On 26 Sep 2021, at 10:07 am, Mircea Trandafir <tramir@hotmail.com> wrote:
> 
>  I've been using only the command line tools for more than a year with \
> absolutely no issues (other than the occasional "version not detected" error, but I \
> think that happens with Xcode too). 
> -- 
> Mircea Trandafir
> Associate professor
> Department of Economics
> University of Southern Denmark
> Campusvej 55, 5230 Odense M
> Denmark
> Email: mircea.trandafir@sam.sdu.dk
> Web: http://www.mirceatrandafir.com
> 
> > > On Sep 26, 2021, at 5:52 AM, Ian Wadham <iandw.au@gmail.com> wrote:
> > > 
> > Hi guys,
> > 
> > I have recently upgraded my MacOS from High Sierra 10.13 to Catalina 10.15, \
> > mainly because I would like to start playing with a package called Flutter, which \
> > has a dependency on Xcode 12+ in its MacBook version. 
> > It appears that Xcode is following some variant of Grosch's Law, or maybe \
> > Parkinson's Law (software expands to fill the hardware space available to it). So \
> > I am wondering, if all a user needs are some MacPorts packages, whether it is \
> > necessary to install all (or even any) of Xcode just to get the command-line \
> > tools. 
> > I have been using MacPorts to get access to FOSS for more than 10 years and have \
> > watched the Xcode requirement grow from around 1 Gb of disk to around 20 Gb in \
> > Catalina. In Xcode 9, on High Sierra, the requirement was around 10 Gb. So it has \
> > roughly doubled in two version steps of MacOS. 
> > At first I used to regard the Xcode overhead as being like some sort of tax on \
> > the pleasure of using FOSS, but now it is taking up an unhealthy portion of the \
> > 250 Gb in my MacBook Pro's 250 Gb internal SSD drive. 
> > I have to put up with this if I wish to use Macports and Flutter, even though, \
> > like Dave Horsfall, I am unlikely to use Xcode as an IDE. So is it possible to \
> > have MacPorts depend on some minimal subset of Xcode? 
> > Cheers,
> > Ian Wadham.
> > 


[Attachment #3 (text/html)]

<html><head><meta http-equiv="content-type" content="text/html; \
charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div \
dir="ltr"><br></div><div dir="ltr">The majority of ports will indeed build fine with \
just the CLT installed. There are a number though where the build does indeed require \
a complete Xcode installation, which is why the baseline recommendation is to install \
Xcode. However if you are ok with perhaps running into the occasional port failure \
(the likelihood for which depends on which ports you use) you likely can get by just \
fine with just the CLT.</div><div dir="ltr"><br></div><div dir="ltr">Chris</div><div \
dir="ltr"><br><blockquote type="cite">On 26 Sep 2021, at 10:07 am, Mircea Trandafir \
&lt;tramir@hotmail.com&gt; wrote:<br><br></blockquote></div><blockquote \
type="cite"><div dir="ltr">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">


I've been using only the command line tools for more than a year with absolutely no \
issues (other than the occasional "version not detected" error, but I think that \
happens with Xcode too).<br> <br>
<div dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);">--&nbsp;<br>
<small>Mircea Trandafir<br>
Associate professor<br>
Department of Economics<br>
University of Southern Denmark<br>
<a href="x-apple-data-detectors://5/0" x-apple-data-detectors="true" \
x-apple-data-detectors-type="address" x-apple-data-detectors-result="5/0">Campusvej \
55, 5230 Odense M</a><br> <a href="x-apple-data-detectors://5/0" \
x-apple-data-detectors="true" x-apple-data-detectors-type="address" \
x-apple-data-detectors-result="5/0">Denmark</a><br> Email:&nbsp;<a \
href="mailto:mircea.trandafir@sam.sdu.dk" \
target="_blank">mircea.trandafir@sam.sdu.dk</a><br> Web:&nbsp;<a \
href="http://www.mirceatrandafir.com/" \
target="_blank">http://www.mirceatrandafir.com</a></small></span></div> <div \
dir="ltr"><br> <blockquote type="cite">On Sep 26, 2021, at 5:52 AM, Ian Wadham \
&lt;iandw.au@gmail.com&gt; wrote:<br> <br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr"><span>Hi guys,</span><br>
<span></span><br>
<span>I have recently upgraded my MacOS from High Sierra 10.13 to Catalina 10.15, \
mainly because I would like to start playing with a package called Flutter, which has \
a dependency on Xcode 12+ in its MacBook version.</span><br> <span></span><br>
<span>It appears that Xcode is following some variant of Grosch's Law, or maybe \
Parkinson's Law (software expands to fill the hardware space available to it). So I \
am wondering, if all a user needs are some MacPorts packages, whether it is necessary \
to install  all (or even any) of Xcode just to get the command-line tools.</span><br>
<span></span><br>
<span>I have been using MacPorts to get access to FOSS for more than 10 years and \
have watched the Xcode requirement grow from around 1 Gb of disk to around 20 Gb in \
Catalina. In Xcode 9, on High Sierra, the requirement was around 10 Gb. So it has \
roughly doubled  in two version steps of MacOS.</span><br>
<span></span><br>
<span>At first I used to regard the Xcode overhead as being like some sort of tax on \
the pleasure of using FOSS, but now it is taking up an unhealthy portion of the 250 \
Gb in my MacBook Pro's 250 Gb internal SSD drive.</span><br> <span></span><br>
<span>I have to put up with this if I wish to use Macports and Flutter, even though, \
like Dave Horsfall, I am unlikely to use Xcode as an IDE. So is it possible to have \
MacPorts depend on some minimal subset of Xcode?</span><br> <span></span><br>
<span>Cheers,</span><br>
<span>Ian Wadham.</span><br>
<span></span><br>
</div>
</blockquote>


</div></blockquote></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic