[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem installing packages
From: |
Sergei Steshenko |
Subject: |
Re: Problem installing packages |
Date: |
Mon, 21 May 2012 17:12:26 -0700 (PDT) |
----- Original Message -----
> From: notMyUsername <address@hidden>
> To: address@hidden
> Cc:
> Sent: Tuesday, May 22, 2012 2:28 AM
> Subject: Re: Problem installing packages
>
>> Strictly speaking, AFAIR, putting hard-coded '-march=native' is a
> bug -
> because it applies only to x86 and >x86_64 architectures.
>>
>> Another issue is that llvm-g++-4.2doesn't understand it even though you
> are
> apparently using an x86 or >x86_64 machine.
>
> Yes. core i7 quad.
>
> I don't know enough about how Homebrew works (or how Octave keeps track of
> what flags it uses to build packages) but on the Lion machine (core i7):
>
> $ brew --env
> CC: /usr/bin/clang
> CXX: /usr/bin/clang++ => /usr/bin/clang
> LD: /usr/bin/clang
> CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
> CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
> MAKEFLAGS: -j8
>
> So it looks kind-of like a catch 22 the way ut currently is - if I set CXX
> to g++ it will compile the package but won't accept the flags, but if I
> leave it alone the flags are OK but it generates errors on the package code.
>
> So since none of these variables are set outside of Homebrew I presume that
> what I need to do is get Homebrew to use different CXX and CSSFLAGS when it
> builds Octave in the first place? Is that where Octave is getting those
> from? Or is there somewhere in Octave (after it's built) that I can get at
> those and set then appropriately?
>
> Thanks!
>
Sorry, I neither own no run a Mac, so I don't know about Homrbrew.
I thought the setting was coming from the package.
...
If that 'brew' thing is open source, you can still find the place where
'-march=native' is set.
Regards,
Sergei.
- Re: Problem installing packages, notMyUsername, 2012/05/13
- Re: Problem installing packages, Lukas Reichlin, 2012/05/14
- Re: Problem installing packages, notMyUsername, 2012/05/21
- Re: Problem installing packages, Alexander Hansen, 2012/05/21
- Re: Problem installing packages, Alexander Hansen, 2012/05/21
- Re: Problem installing packages, notMyUsername, 2012/05/21
- Re: Problem installing packages, Sergei Steshenko, 2012/05/21
- Re: Problem installing packages, notMyUsername, 2012/05/21
- Re: Problem installing packages,
Sergei Steshenko <=
- Re: Problem installing packages, Alexander Hansen, 2012/05/21
- Re: Problem installing packages, notMyUsername, 2012/05/22
- Re: Problem installing packages, notMyUsername, 2012/05/22
- Re: Problem installing packages, Carnë Draug, 2012/05/23
- Re: Problem installing packages, ramack, 2012/05/24
- Re: Problem installing packages, ramack, 2012/05/24
- Re: Problem installing packages, ramack, 2012/05/24
- Re: Problem installing packages, Jordi Gutiérrez Hermoso, 2012/05/24
- Re: Problem installing packages, Sergei Steshenko, 2012/05/24
- Re: Problem installing packages, Olaf Till, 2012/05/28