COIN-OR::LEMON - Graph Library

Opened 16 years ago

Closed 16 years ago

#154 closed task (fixed)

Wrong compiler flags with Intel C++ compiler

Reported by: Alpar Juttner Owned by: Akos Ladanyi
Priority: major Milestone: LEMON 1.0 release
Component: core Version: hg main
Keywords: Cc:
Revision id:

Description

I run the configure scripts using Intel C++ compiler version 10.1 like this:

./configure --enable-demo --enable-benchmark CXX=/usr/local/intel/cc/10.1/bin/icpc

The scripts sets CXXFLAGS in a wrong way as it sets all the GCC specific -Wxyz flags are also set. The correct setting should probably be

CXXFLAGS=-g -O2

This bug exists in [bb40b6db0a58].

Attachments (1)

icc-detect.patch (1.4 KB) - added by Akos Ladanyi 16 years ago.
9768e60aa4e1

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by Akos Ladanyi

Attachment: icc-detect.patch added

comment:1 Changed 16 years ago by Akos Ladanyi

Status: newassigned

The attached patch fixes this.

comment:2 Changed 16 years ago by Peter Kovacs

Resolution: fixed
Status: assignedclosed

The changeset went to the main branch.

Note: See TracTickets for help on using tickets.