6

Is the brew install --cask chromium install of homebrew chromium package optimised for M1 silicon or does it run under rosetta.

The package page doesn't offer much info on this : https://formulae.brew.sh/cask/chromium

tejas n
  • 638
  • 1
  • 8
  • 14

3 Answers3

6

Sure, just look at Chromium cask code: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/chromium.rb

 arch = Hardware::CPU.intel? ? "Mac" : "Mac_Arm"
 ...
 url "https://commondatastorage.googleapis.com/chromium-browser-snapshots/#{arch}/#{version}/chrome-mac.zip

Checked on version: https://commondatastorage.googleapis.com/chromium-browser-snapshots/Mac_Arm/948906/chrome-mac.zip

file ~/Downloads/chrome-mac/Chromium.app/Contents/MacOS/Chromium

Chromium: Mach-O 64-bit executable arm64

uptoyou
  • 1,427
  • 19
  • 24
  • 1
    I'm really not sure why this has been downvoted since it seems to be the only answer that straightforwardly answers the question... – ScottishTapWater Jul 25 '22 at 16:17
  • I needed to remove those nice apple attributes for Chromium to start `xattr -c /Applications/Chromium.app` – oliolioli Jan 19 '23 at 12:31
3

Simply open a terminal, cd to the executable location (for normal applications this is in /Applications/app name.app/contents/Mac OS. Then run "file" with the executable name in this folder. The results will tell you if the executable is built for intel/arm or both.