I'm Scottish so not to worry the r will be pronounced 😂even if it's not exactly the same as the Irish pronunciation. I can see some people emphasising the mac part but also could see some pronouncing it more like how it is in Ireland.
Thanks for all the replies. I don't mind the associations people have brought up such as chocolate or the name of a business as they don't seem that obvious and strong to me.
I think I also first came across the name with the author Cormac McCarthy as there aren't really any men with that name where I live. Also, through searching about the name I found out his actual name is Charles but he has Irish ancestry hence why he chose the pen name. I don't mind that association either as he's a good writer.
I recently came across a child with the name at my son's nursery and thought for the first time that it's a really nice name.
Someone said it's popular in Scotland but that might just be the impression you get where you live as looking at the national records there were was no Cormac born from 1974 to 1997 then 2005 had the highest number born with 18 baby boys named Cormac. That's just with this spelling there might be variations.