Closed jppelteret closed 8 years ago
@davydden If you'd like, I can make a switch between system libraries and Homebrew libraries as well.
looks good, thanks! Please, merge yourself, optionally after removing --default
.
p.s. i wouldn't bother with the switch for now, just to keep the script simple.
I've found myself having to reinstall Linuxbrew on my desktop machine and it doesn't like the use of the system libraries for some reason. I'm not willing to dig into it right now but I've got a hard-coded switch for the system libraries in place now. I'll add it later, but with the default as using the system libraries.
i see, that's strange...
Yip, I agree. But I've got work to do so I just need to solve the problem for now. I'll investigate more later in the week.
The updated script with system libraries looks good to me!
why don't we have this one merged yet? ;-)
Err, I don't think so. I seem to recall testing this and that it worked fine. Do you want me to double-check this during the week?
let's update sha's for patches and then double check it with the new script
Sounds like a good idea. I'll do that as soon as I can during the week.
Ok so I've checked this script with and without system libraries on Ubuntu 15.10. Seems to work fine now that building Trilinos with Fortran is disabled. As this is the case, one need not install GCC via linuxbrew when not using the system libraries (line 107). I think that this is alright to be merged now if you think its fine.
so when system libraries are off we actually use gcc from the system, right? i guess it's fine to use ubuntu's gcc, as long as it works...
thanks a lot for cleaning it up.
Yes thats right. I thought that it was a safe bet that the system (well, Ubuntu) would still provide a working compiler. If we extend the script work for other distributions (e.g. those that don't have apt-get) then we can reassess this choice.
Added options for user to set HB/LB installation path and target bash file.