Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jul 27, 2020
1 parent 96b25f9 commit aabe4ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ script:
- rm -rf build
- mkdir build
- cd build
- unset CFLAGS FFLAGS FCFLAGS DISTCHECK_CONFIGURE_FLAGS
- cmake -DPIO_HDF5_LOGGING=On -DPIO_USE_MALLOC=On -DPIO_ENABLE_LOGGING=On -DPIO_ENABLE_TIMING=Off ..
- make VERBOSE=1
- make tests VERBOSE=1
- make test VERBOSE=1
- ctest -VV
8 changes: 4 additions & 4 deletions src/clib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ target_compile_definitions (pioc

# Compiler-specific compiler options
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
list(INSERT CMAKE_C_FLAGS 0 "-std=c99 ")
string(PREPEND CMAKE_C_FLAGS "-std=c99 " )
elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "PGI")
list(INSERT CMAKE_C_FLAGS 0 "-c99 ")
string(PREPEND CMAKE_C_FLAGS "-c99 ")
elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "Intel")
list(INSERT CMAKE_C_FLAGS 0 "-std=c99 -debug minimal")
string(PREPEND CMAKE_C_FLAGS "-std=c99 -debug minimal ")
elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
list(INSERT CMAKE_C_FLAGS 0 "-std=c99 ")
string(PREPEND CMAKE_C_FLAGS "-std=c99 ")
endif()
target_compile_options (pioc PRIVATE ${CMAKE_C_FLAGS})

Expand Down

0 comments on commit aabe4ec

Please sign in to comment.