「view this page in B3 βῆτα server」

Revisions №60870

branch: master 「№60870」
Commited by: Jack Maguire
GitHub commit link: 「a344719efdaf6233」 「№4118」
Difference from previous tested commit:  code diff
Commit date: 2019-08-14 09:38:07
linux.clang linux.gcc linux.srlz mac.clang
linux.PyRosetta.unit linux.gcc.python37.PyRosetta4.unit mac.PyRosetta.unit build.clean.debug cppcheck mysql postgres linux.clang.python36.build.debug linux.zeromq.debug mpi mpi.serialization linux.icc.build.debug OpenCL mac.clang.python36.build.debug build.header build.levels ninja graphics static linux.ui mac.ui build.xcode beautification code_quality.clang_analysis serialization integration.mpi integration.release_debug integration.tensorflow integration.thread integration performance profile release.source scientific.mp_lipid_acc.debug scientific.mp_lipid_acc linux.clang.score linux.gcc.score mac.clang.score linux.scripts.pyrosetta scripts.rosetta.parse scripts.rosetta.validate scripts.rosetta.verify linux.clang.unit.release linux.gcc.unit.release util.apps

Merge pull request #4118 from RosettaCommons/JackMaguire/cxx17functionattributes Compilers allow for various function attributes to help annotate code functionality. Most attributes are not useful for us in Rosetta, but a few can be useful for development purposes. For example, [[unused]] makes debug-mode compilation easier/cleaner in the early stages of development. Starting in c++17, compilers are told to ignore attributes that they do not recognize, which greatly increases portability. This PR adds a macro that allows you to write attributes that will only be applied if your version of c++ is c++17 or later, along with 4 whitelisted attributes: PURE, CONST, UNUSED, and NODISCARD

Test: linux.clang.performance

Failed sub-tests (click for more details):