Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1765: use vt compilation flags for bundled libraries as well #1776

Merged
merged 10 commits into from
May 16, 2022

Conversation

cz4rs
Copy link
Contributor

@cz4rs cz4rs commented May 5, 2022

fixes #1765

@cz4rs cz4rs force-pushed the 1765-common-compilation-flags branch from 29b44af to 92be9dd Compare May 5, 2022 18:08
@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (gcc-9, ubuntu, mpich, zoltan)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (gcc-5, ubuntu, mpich)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (clang-10, ubuntu, mpich)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (nvidia cuda 10.1, ubuntu, mpich)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (clang-3.9, ubuntu, mpich)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (clang-9, ubuntu, mpich)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (clang-5.0, ubuntu, mpich)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (gcc-6, ubuntu, mpich)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (gcc-8, ubuntu, mpich, address sanitizer)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (nvidia cuda 11.0, ubuntu, mpich)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (clang-10, alpine, mpich)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (intel icpx, ubuntu, mpich)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (gcc-10, ubuntu, openmpi, no LB)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (gcc-7, ubuntu, mpich, trace runtime, LB)

Build for 54bd0fd

Compilation - successful

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (clang-11, ubuntu, mpich)

Build for 54bd0fd

In file included from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/vt/src/vt/utils/memory/memory_usage.cc:149:26: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations]
    struct mallinfo mi = mallinfo();
                         ^
/usr/include/malloc.h:114:48: note: 'mallinfo' has been explicitly marked deprecated here
extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
                                               ^
/usr/include/malloc.h:32:30: note: expanded from macro '__MALLOC_DEPRECATED'
# define __MALLOC_DEPRECATED __attribute_deprecated__
                             ^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:339:51: note: expanded from macro '__attribute_deprecated__'
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
                                                  ^
1 warning generated.

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (clang-12, ubuntu, mpich)

Build for 54bd0fd

In file included from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/vt/src/vt/utils/memory/memory_usage.cc:149:26: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations]
    struct mallinfo mi = mallinfo();
                         ^
/usr/include/malloc.h:114:48: note: 'mallinfo' has been explicitly marked deprecated here
extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
                                               ^
/usr/include/malloc.h:32:30: note: expanded from macro '__MALLOC_DEPRECATED'
# define __MALLOC_DEPRECATED __attribute_deprecated__
                             ^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:339:51: note: expanded from macro '__attribute_deprecated__'
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
                                                  ^
1 warning generated.

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (gcc-11, ubuntu, mpich)

Build for 54bd0fd

In file included from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/vt/src/vt/utils/memory/memory_usage.cc: In member function 'virtual std::size_t vt::util::memory::Mallinfo::getUsage()':
/vt/src/vt/utils/memory/memory_usage.cc:149:34: warning: 'mallinfo mallinfo()' is deprecated [-Wdeprecated-declarations]
  149 |     struct mallinfo mi = mallinfo();
      |                          ~~~~~~~~^~
In file included from /vt/src/vt/utils/memory/memory_usage.cc:59,
                 from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/usr/include/malloc.h:114:24: note: declared here
  114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
      |                        ^~~~~~~~

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (clang-13, ubuntu, mpich)

Build for 54bd0fd

In file included from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/vt/src/vt/utils/memory/memory_usage.cc:149:26: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations]
    struct mallinfo mi = mallinfo();
                         ^
/usr/include/malloc.h:114:48: note: 'mallinfo' has been explicitly marked deprecated here
extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
                                               ^
/usr/include/malloc.h:32:30: note: expanded from macro '__MALLOC_DEPRECATED'
# define __MALLOC_DEPRECATED __attribute_deprecated__
                             ^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:339:51: note: expanded from macro '__attribute_deprecated__'
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
                                                  ^
1 warning generated.

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (gcc-12, ubuntu, mpich)

Build for 54bd0fd

In file included from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/vt/src/vt/utils/memory/memory_usage.cc: In member function 'virtual std::size_t vt::util::memory::Mallinfo::getUsage()':
/vt/src/vt/utils/memory/memory_usage.cc:149:34: warning: 'mallinfo mallinfo()' is deprecated [-Wdeprecated-declarations]
  149 |     struct mallinfo mi = mallinfo();
      |                          ~~~~~~~~^~
In file included from /vt/src/vt/utils/memory/memory_usage.cc:59:
/usr/include/malloc.h:114:24: note: declared here
  114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
      |                        ^~~~~~~~

Testing - passed

Build log

@github-actions
Copy link

github-actions bot commented May 5, 2022

PR tests (clang-14, ubuntu, mpich)

Build for 54bd0fd

In file included from src/CMakeFiles/vt.dir/Unity/unity_14_cxx.cxx:7:
/vt/src/vt/utils/memory/memory_usage.cc:149:26: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations]
    struct mallinfo mi = mallinfo();
                         ^
/usr/include/malloc.h:114:48: note: 'mallinfo' has been explicitly marked deprecated here
extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
                                               ^
/usr/include/malloc.h:32:30: note: expanded from macro '__MALLOC_DEPRECATED'
# define __MALLOC_DEPRECATED __attribute_deprecated__
                             ^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:339:51: note: expanded from macro '__attribute_deprecated__'
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
                                                  ^
1 warning generated.

Testing - passed

Build log

@cz4rs cz4rs force-pushed the 1765-common-compilation-flags branch 2 times, most recently from 26cca2b to dac21a9 Compare May 5, 2022 20:58

macro(set_darma_compiler_flags vt_target)

set(CMAKE_CXX_EXTENSIONS OFF)
Copy link
Contributor Author

@cz4rs cz4rs May 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed: CMAKE_CXX_EXTENSIONS is already disabled in the main CMakeLists.txt

endif ()
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 7)
list(APPEND TARGET_PUBLIC_CXX_FLAGS -DCLI11_EXPERIMENTAL_OPTIONAL=0)
Copy link
Contributor Author

@cz4rs cz4rs May 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed: CLI11_EXPERIMENTAL_OPTIONAL is no longer present in CLI11

@cz4rs cz4rs force-pushed the 1765-common-compilation-flags branch 2 times, most recently from a04e9a5 to e7a7f74 Compare May 6, 2022 13:06
@cz4rs cz4rs marked this pull request as ready for review May 6, 2022 15:09
@cz4rs cz4rs requested review from jstrzebonski and lifflander May 6, 2022 15:09
@PhilMiller
Copy link
Member

I think this is good, but I want to take another look, or have someone else look at it too.

@cz4rs cz4rs force-pushed the 1765-common-compilation-flags branch from e7a7f74 to e0b8fae Compare May 9, 2022 07:21
@cz4rs
Copy link
Contributor Author

cz4rs commented May 9, 2022

Rebased on top of develop.

@cz4rs cz4rs force-pushed the 1765-common-compilation-flags branch from e0b8fae to ea9bb8e Compare May 9, 2022 19:15
@codecov
Copy link

codecov bot commented May 9, 2022

Codecov Report

Merging #1776 (54bd0fd) into develop (5423e23) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1776   +/-   ##
========================================
  Coverage    84.14%   84.14%           
========================================
  Files          753      753           
  Lines        26127    26127           
========================================
  Hits         21985    21985           
  Misses        4142     4142           

@cz4rs cz4rs force-pushed the 1765-common-compilation-flags branch from ea9bb8e to 078861a Compare May 10, 2022 12:29
@cz4rs cz4rs force-pushed the 1765-common-compilation-flags branch from 078861a to 54bd0fd Compare May 13, 2022 10:32
@PhilMiller PhilMiller merged commit ce6b977 into develop May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use vt compilation flags for bundled libraries as well
2 participants