[MacPorts] #32261: Allow building on a RAM disk or other secondary disk

MacPorts noreply at macports.org
Tue Sep 27 13:58:46 UTC 2022


#32261: Allow building on a RAM disk or other secondary disk
--------------------------+--------------------------------
  Reporter:  skolah@…     |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:  2.0.3
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------------------

Comment (by mascguy):

 Another benefit of using a RAM disk:

 Since our buildbots use case-sensitive volumes - and it's easy to miss
 case mismatches locally, since 99+% of us probably have macOS
 installations with case-insensitive volumes - create one that's case-
 sensitive instead:

 {{{
 $ sudo bash -c 'dev=$(hdiutil attach -nomount ram://16777216) ; newfs_hfs
 -s -v "MacPorts-RamDisk-8G" ${dev} ; mount -t hfs ${dev}
 /opt/local/var/macports/build'
 }}}

 Bingo!

-- 
Ticket URL: <https://trac.macports.org/ticket/32261#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list