Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: OpFlow-dev/OpFlow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.8
Choose a base ref
...
head repository: OpFlow-dev/OpFlow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 4 commits
  • 4 files changed
  • 1 contributor

Commits on Oct 23, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    393ed8f View commit details
  2. Copy the full SHA
    4ecc1f2 View commit details
  3. Copy the full SHA
    44e127a View commit details
  4. [CI] Update ReadME

    Luohaothu committed Oct 23, 2023
    Copy the full SHA
    9d23b67 View commit details
Showing with 18 additions and 13 deletions.
  1. +5 −0 .github/workflows/Build.yml
  2. +2 −2 README.md
  3. +4 −4 src/Core/Macros.hpp
  4. +7 −7 test/Utils/CMakeLists.txt
5 changes: 5 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -30,6 +30,11 @@ jobs:
compiler: [clang, gcc]
mpi: [ON, OFF]
mode: [Debug, Release]
exclude :
- os: macos-12
compiler: clang
mpi: ON
mode: Release # clang tends to emit illegal inst for macOS with MPI on release mode (-O3)
if: "!contains(github.event.head_commit.message, 'skip build')"
steps:
- name: Checkout
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -6,8 +6,8 @@
[![Latest Release](https://img.shields.io/github/v/release/OpFlow-dev/OpFlow?color=blue&label=Latest%20Release)](https://github.com/OpFlow-dev/OpFlow/releases/latest)
[![License](https://img.shields.io/badge/license-MPL--2.0-blue)](https://github.com/OpFlow-dev/OpFlow/blob/master/LICENSE)
[![Downloads](https://img.shields.io/github/downloads/OpFlow-dev/OpFlow/total?color=blue&label=Downloads)](https://github.com/OpFlow-dev/OpFlow/releases/latest)
[![Format](https://img.shields.io/github/workflow/status/OpFlow-dev/OpFlow/AutoFormat?color=green&label=Format)](https://github.com/OpFlow-dev/OpFlow/actions/workflows/AutoFormat.yml)
[![Build](https://img.shields.io/github/workflow/status/OpFlow-dev/OpFlow/BuildAndTest?color=green&label=Build)](https://github.com/OpFlow-dev/OpFlow/actions/workflows/Build.yml)
[![Format](https://img.shields.io/github/actions/workflow/status/OpFlow-dev/OpFlow/AutoFormat.yml?branch=master?color=green&label=Format)](https://github.com/OpFlow-dev/OpFlow/actions/workflows/AutoFormat.yml)
[![Build](https://img.shields.io/github/actions/workflow/status/OpFlow-dev/OpFlow/Build.yml?branch=master?color=green&label=Build)](https://github.com/OpFlow-dev/OpFlow/actions/workflows/Build.yml)

## Overview

8 changes: 4 additions & 4 deletions src/Core/Macros.hpp
Original file line number Diff line number Diff line change
@@ -162,10 +162,10 @@ namespace OpFlow {
} \
} while (0)
#else
#define OP_ASSERT(X) X
#define OP_EXPECT(X) X
#define OP_ASSERT_MSG(X, ...) X
#define OP_EXPECT_MSG(X, ...) X
#define OP_ASSERT(X)
#define OP_EXPECT(X)
#define OP_ASSERT_MSG(X, ...)
#define OP_EXPECT_MSG(X, ...)
#endif

#if defined(OPFLOW_WITH_MPI) && defined(OPFLOW_DISTRIBUTE_MODEL_MPI)
14 changes: 7 additions & 7 deletions test/Utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -12,10 +12,10 @@

project(OpFlow_Utils_Tests)

add_gmock(HDF5StreamTest ${CMAKE_CURRENT_LIST_DIR}/HDF5StreamTest.cpp)
add_gmock_mpi(HDF5StreamMPITest 4 ${CMAKE_CURRENT_LIST_DIR}/HDF5StreamMPITest.cpp)

add_gmock(TecplotStreamTest ${CMAKE_CURRENT_LIST_DIR}/TecplotStreamTest.cpp)
add_gmock_mpi(TecplotStreamMPITest 4 ${CMAKE_CURRENT_LIST_DIR}/TecplotStreamMPITest.cpp)

add_gmock(IOGroupTest ${CMAKE_CURRENT_LIST_DIR}/IOGroupTest.cpp)
#add_gmock(HDF5StreamTest ${CMAKE_CURRENT_LIST_DIR}/HDF5StreamTest.cpp)
#add_gmock_mpi(HDF5StreamMPITest 4 ${CMAKE_CURRENT_LIST_DIR}/HDF5StreamMPITest.cpp)
#
#add_gmock(TecplotStreamTest ${CMAKE_CURRENT_LIST_DIR}/TecplotStreamTest.cpp)
#add_gmock_mpi(TecplotStreamMPITest 4 ${CMAKE_CURRENT_LIST_DIR}/TecplotStreamMPITest.cpp)
#
#add_gmock(IOGroupTest ${CMAKE_CURRENT_LIST_DIR}/IOGroupTest.cpp)