[R-SIG-Mac] dSYM files in M1Mac install?

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Thu Jun 9 09:46:38 CEST 2022


By "issue" I just meant it's under your control, not mine.

Duncan Murdoch

On 08/06/2022 8:46 p.m., Simon Urbanek wrote:
> Duncan,
> 
> I’m not sure what what “issue” you see here - can you elaborate? We do include debugging symbols in distributed binaries to facilitate debugging. I have not looked at rgl in particular, but I suppose the reason for the big dSYM size could be its static dependencies.
> 
> Cheers,
> Simon
> 
> 
>> On 9/06/2022, at 06:29, Duncan Murdoch <murdoch.duncan using gmail.com> wrote:
>>
>> I just noticed that binary installs from CRAN on my Mac also include large *.dSYM directories, though the installs I build myself don't.  So this looks like a CRAN/macbuilder issue.
>>
>> Duncan Murdoch
>>
>> On 08/06/2022 8:21 a.m., Duncan Murdoch wrote:
>>> The CRAN checks for rgl show that it has a huge libs directory.  E.g.
>>> https://www.r-project.org/nosvn/R.check/r-release-macos-arm64/rgl-00check.html
>>> contains this:
>>> checking installed package size ... NOTE
>>>     installed size is 25.6Mb
>>>     sub-directories of 1Mb or more:
>>>       doc 1.0Mb
>>>       fonts 1.5Mb
>>>       libs 20.0Mb
>>> I don't have an M1 mac, but I used https://mac.r-project.org/macbuilder
>>> to build, and found that the rgl.so file that gets installed is a
>>> reasonable size (bigger than on my Intel Mac, but only 2.7M), but
>>> there's also a subdir rgl.so.dSYM which is really large.  It contains a
>>> file rgl.so.dSYM/Contents/Resources/DWARF/rgl.so which is about 17M.
>>> I think that is debugging symbol information.  Is it necessary to
>>> install it on the M1 Mac?  If not, is there something in rgl's
>>> configuration that I should change, or is it part of the system
>>> configuration on CRAN and macbuilder?
>>> Duncan Murdoch
>>>
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac using r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>



More information about the R-SIG-Mac mailing list