Skip to content
Snippets Groups Projects

Add compiler flags that should show inlined functions when enabling debug

Merged Peter W. Draper requested to merge autotools-update into master

Should work with Intel ICC and GCC.

Merge request reports

Merged by avatar (May 28, 2025 10:53am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Matthieu Schaller Status changed to merged

    Status changed to merged

  • mentioned in commit 5126b8ed

  • Actually, I seem to have an issue on cosma-5 with gcc:

    git clone git@gitlab.cosma.dur.ac.uk:swift/swiftsim.git
    cd swiftsim
    module load swift/c5/gcc/intelmpi/5.1.3
    ./autogen.sh
    ./configure --disable-vec --enable-debug

    leading to

    <snip>
    hecking whether AVX512-F is supported by the processor... no
    checking whether AVX512-CD is supported by the processor... no
    checking whether AVX512-PF is supported by the processor... no
    checking whether AVX512-ER is supported by the processor... no
    checking whether AVX512-VL is supported by the processor... no
    checking whether AVX512-BW is supported by the processor... no
    checking whether AVX512-DQ is supported by the processor... no
    checking whether AVX512-IFMA is supported by the processor... no
    checking whether AVX512-VBMI is supported by the processor... no
    disabled GCC vectorization
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether make sets $(MAKE)... (cached) yes
    checking for ANSI C header files... (cached) yes
    checking for sqrt in -lm... no
    configure: error: something is wrong with the math library!

    It works on my laptop with gcc 5.4.0.

  • Sorry, just noticed that myself. Will commit a fix.

  • Peter W. Draper mentioned in merge request !262 (merged)

    mentioned in merge request !262 (merged)

  • Peter W. Draper mentioned in commit 58d36dd4

    mentioned in commit 58d36dd4

Please register or sign in to reply
Loading