File tree Expand file tree Collapse file tree 5 files changed +11
-6
lines changed
pde_solvers/navier-stokes Expand file tree Collapse file tree 5 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ matrix:
77
77
78
78
before_install :
79
79
- |
80
+ set -o errexit
80
81
if [[ $TRAVIS ]] && [[ "X$TRAVIS_OS_NAME" = "Xosx" ]]; then
81
82
export PATH="$PATH:$HOME/Library/Python/2.7/bin"
82
83
else
@@ -88,9 +89,11 @@ before_install:
88
89
$FC --version
89
90
$CC --version
90
91
fi
92
+ set +o errexit
91
93
92
94
install :
93
95
- |
96
+ set -o errexit
94
97
if [[ $TRAVIS ]] && [[ "X$TRAVIS_OS_NAME" = "Xosx" ]]; then
95
98
brew update > /dev/null
96
99
@@ -141,9 +144,11 @@ install:
141
144
export FC=mpif90
142
145
export CC=mpicc
143
146
fi
147
+ set +o errexit
144
148
145
149
script :
146
150
- |
151
+ set -o errexit
147
152
if [[ "X$BUILD_TYPE" = "XInstallScript" ]]; then
148
153
export FC=gfortran-5
149
154
export CC=gcc-5
@@ -163,6 +168,7 @@ script:
163
168
make install
164
169
cd ..
165
170
fi
171
+ set +o errexit
166
172
167
173
after_success :
168
174
- find . -name '*.gcno' -print
Original file line number Diff line number Diff line change @@ -166,9 +166,7 @@ if(opencoarrays_aware_compiler)
166
166
add_mpi_test (register_rename_me 2 ${tests_root} /unit/init_register/register_rename_me )
167
167
add_mpi_test (register_rename_me_too 2 ${tests_root} /unit/init_register/register_rename_me_too )
168
168
add_mpi_test (allocate_as_barrier 2 ${tests_root} /unit/init_register/allocate_as_barrier )
169
- if (NOT ( APPLE AND ( DEFINED ENV{TRAVIS} ) ) )
170
- add_mpi_test (allocate_as_barrier_proc 2 ${tests_root} /unit/init_register/allocate_as_barrier_proc )
171
- endif ()
169
+ add_mpi_test (allocate_as_barrier_proc 32 ${tests_root} /unit/init_register/allocate_as_barrier_proc )
172
170
add_mpi_test (get_array 2 ${tests_root} /unit/send-get/get_array )
173
171
add_mpi_test (send_array 2 ${tests_root} /unit/send-get/send_array )
174
172
add_mpi_test (get_with_offset_1d 2 ${tests_root} /unit/send-get/get_with_offset_1d )
Original file line number Diff line number Diff line change @@ -533,9 +533,10 @@ void *
533
533
MPI_Win_flush (caf_this_image - 1 , * p );
534
534
# endif // CAF_MPI_LOCK_UNLOCK
535
535
free (init_array );
536
- PREFIX (sync_all ) (NULL ,NULL ,0 );
537
536
}
538
537
538
+ PREFIX (sync_all ) (NULL ,NULL ,0 );
539
+
539
540
caf_static_t * tmp = malloc (sizeof (caf_static_t ));
540
541
tmp -> prev = caf_tot ;
541
542
tmp -> token = * token ;
Original file line number Diff line number Diff line change 1
1
if (opencoarrays_aware_compiler )
2
2
add_subdirectory (coarrayHelloWorld )
3
- if (NOT (DEFINED ENV{TRAVIS} ))
3
+ if (NOT (" ${CMAKE_BUILD_TYPE} " MATCHES "CodeCoverage" ))
4
4
add_subdirectory (dist_transpose )
5
5
endif ()
6
6
add_subdirectory (pde_solvers )
Original file line number Diff line number Diff line change 1
1
# checking whether the machine is of type 64-bit before proceeding further
2
- if ( ("${CMAKE_SYSTEM_PROCESSOR} " MATCHES "x86_64" ) AND ("${CMAKE_SYSTEM_NAME} " MATCHES "LINUX " ) )
2
+ if ( ("${CMAKE_SYSTEM_PROCESSOR} " MATCHES "x86_64" ) AND ("${CMAKE_SYSTEM_NAME} " MATCHES "Linux " ) )
3
3
# Default to older SSE-instruction-based FFT library
4
4
if (NOT (DEFINED ENV{TRAVIS} ))
5
5
if (LEGACY_ARCHITECTURE OR (NOT DEFINED (LEGACY_ARCHITECTURE )))
You can’t perform that action at this time.
0 commit comments