[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected |
Date: |
Mon, 23 Feb 2015 04:58:51 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0 |
Follow-up Comment #2, bug #44346 (project octave):
I don't think we should add these flags directly to CFLAGS and CXXFLAGS as
those are supposed to default to "-g -O2" and be available for the user to
change. Now if someone runs Make with CFLAGS=-g, won't they also remove the
openmp flags from CFLAGS? That's probably not what they intend. So they
probably should be added to AM_CFLAGS and AM_CXXFLAGS, which for historical
reasons are still defined from XTRA_CFLAGS and XTRA_CXXFLAGS.
Also, is it possible that the openmp flags would be different for the C and
C++ compilers? If so, which should be passed to the linker? I guess for us
it would normally be the CXXFLAGS version since we link most programs and
libraries with the C++ compiler.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44346>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected, Mike Miller, 2015/02/22
- [Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected, Rik, 2015/02/22
- [Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected,
John W. Eaton <=
- [Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected, Mike Miller, 2015/02/23
- [Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected, John W. Eaton, 2015/02/23
- [Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected, John W. Eaton, 2015/02/23
- [Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected, Rik, 2015/02/23
- [Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected, Mike Miller, 2015/02/23
- [Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected, Mike Miller, 2015/02/23
- [Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected, John W. Eaton, 2015/02/23
- [Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected, Mike Miller, 2015/02/23