[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/creduce] b5bbda: Only define NDEBUG when building in release mode



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  Commit: b5bbdaf82b90ea32656c2ebb1d6fc48402df10d0
      https://github.com/csmith-project/creduce/commit/b5bbdaf82b90ea32656c2ebb1d6fc48402df10d0
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2015-08-23 (Sun, 23 Aug 2015)

  Changed paths:
    M clang_delta/CMakeLists.txt

  Log Message:
  -----------
  Only define NDEBUG when building in release mode

Patch provided by Johan Bengtsson

"Only define NDEBUG when building in release mode. In debug-node define
ENABLE_TRANS_ASSERT instead, to enable all assertions."


  Commit: e8c56acc30f15ac6261454bba8159af7f3c27dd2
      https://github.com/csmith-project/creduce/commit/e8c56acc30f15ac6261454bba8159af7f3c27dd2
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2015-08-23 (Sun, 23 Aug 2015)

  Changed paths:
    M CMakeLists.txt
    M clang_delta/CMakeLists.txt
    M creduce/CMakeLists.txt

  Log Message:
  -----------
  Fixed some issues in the CMake configuration

Patched by Johan Bengtsson

"There were three main problems with using the cmake configuration on
linux.

1) The names of the needed programs are hardcoded to end in .exe instead
of using ${CMAKE_EXECUTABLE_SUFFIX}.

2) The clang libraries are listed in the wrong order for a one-pass
linker.

3) GCC and Clang needs -std=c++11 and -fno-rtti

This change set addresses all of those problems."


Compare: https://github.com/csmith-project/creduce/compare/0856335ee369...e8c56acc30f1