Modify

Opened 7 months ago

Last modified 6 months ago

#2126 reopened defect

SimFactory should choose an appropriate cfg on a Mac.

Reported by: Steven R. Brandt Owned by:
Priority: unset Milestone: ET_2018_08
Component: SimFactory Version: development version
Keywords: Cc:

Description

generic.cfg does not work on a mac because gcc doesn't exist (one needs to use gcc-7 instead, for example). Simfactory should detect and use the correct cfg file from the set generic.cfg, osx-homebrew.cfg, and osx-macports.cfg.

Attachments (0)

Change History (4)

comment:2 Changed 7 months ago by Roland Haas

Status: reviewreopened

Please see comments inline in pull request. Cannot be applied as is, and should provide some more robust error checking as well as a statement that this was actually tested by someone (since as far as I know you do not use / or had access to) a mac in the past.

comment:3 Changed 6 months ago by Steven R. Brandt

Roland and I are at an impasse discussing this ticket on the pull request. Other opinions would be welcome.

comment:4 Changed 6 months ago by Steven R. Brandt

I just did an experiment. I compiled on a Mac with homebrew using generic.cfg. The obvious problem with doing things this way is that "gcc" is really clang.

However, despite Mac lying about the compiler, Cactus compiled and the test suite ran (except for Memspeed). Given this, I think we can modify the tutorial to remove the Mac-specific instructions and close this ticket.

Ian, could you test to see if this works on a mac ports install also?

Last edited 6 months ago by Steven R. Brandt (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as reopened The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
The owner will be changed from (none) to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.