#
# Build logs: https://ci.appveyor.com/project/simgrid/simgrid
-# Documentation: https://www.appveyor.com/docs/
+# Documentation: https://www.appveyor.com/docs/
# https://www.appveyor.com/docs/installed-software/
os: Visual Studio 2015
# This is the configuration file for the https://circleci.com/ continuous integration server
#
-# Copyright (C) 2017. The SimGrid team. All rights reserved.
+# Copyright (C) 2017. The SimGrid team. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the license (GNU LGPL) which comes with this package.
--setenv var=value : set a specific environment variable
--cfg arg : add parameter --cfg=arg to each command line
--log arg : add parameter --log=arg to each command line
- --ignore-jenkins : ignore all cruft generated on SimGrid
+ --ignore-jenkins : ignore all cruft generated on SimGrid
continuous integration servers
}
}
-/** @brief Retrieves the peer list from the tracker
+/** @brief Retrieves the peer list from the tracker
* @param peer current peer data
*/
int get_peers_data(peer_t peer)
xbt_free(peer);
}
-/** @brief Returns if a peer has finished downloading the file
+/** @brief Returns if a peer has finished downloading the file
* @param bitfield peer bitfield
*/
int has_finished(unsigned int bitfield)
/* Join reply from all the node touched by the join */
case TASK_JOIN_LAST_REPLY:
// if last node touched reply, copy its namespace set
- // TODO: it works only if the two nodes are side to side (is it really the case ?)
+ // TODO: it works only if the two nodes are side to side (is it really the case ?)
j = (task_data->sender_id < node->id) ? -1 : 0;
for (i=0; i<NAMESPACE_SIZE/2; i++) {
node->namespace_set[i] = task_data->state->namespace_set[i-j];
XBT_PUBLIC(void) migrate(Host* new_host);
};
-/** @} */
+/** @} */
}} // namespace simgrid::s4u
)
set(umpire_tests_problematic
- deadlock-config # No deadlock detected by ISP unless MPI_Send blocking activated
+ deadlock-config # No deadlock detected by ISP unless MPI_Send blocking activated
) # problematic tests
# These files are not listed on http://formalverification.cs.utah.edu/ISP_Tests/
set(warnCXXFLAGS "${warnCXXFLAGS} -Wno-mismatched-tags -Wno-extern-c-compat")
endif()
- # the one specific to C but refused by C++
+ # the one specific to C but refused by C++
set(warnCFLAGS "${warnCFLAGS} -Wmissing-prototypes")
if(CMAKE_Fotran_COMPILER_ID MATCHES "GCC|PGI")
# Configure LTO
# NOTE, cmake 3.0 has a INTERPROCEDURAL_OPTIMIZATION target
# property for this (http://www.cmake.org/cmake/help/v3.0/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.html)
-if(enable_lto) # User wants LTO. Try if we can do that
+if(enable_lto) # User wants LTO. Try if we can do that
set(enable_lto OFF)
if(enable_compile_optimizations
AND CMAKE_COMPILER_IS_GNUCC
endif()
if(MINGW)
- # http://stackoverflow.com/questions/10452262/create-64-bit-jni-under-windows
- # We don't want to ship libgcc_s_seh-1.dll nor libstdc++-6.dll
+ # http://stackoverflow.com/questions/10452262/create-64-bit-jni-under-windows
+ # We don't want to ship libgcc_s_seh-1.dll nor libstdc++-6.dll
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static-libgcc")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")
set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "${CMAKE_SHARED_LIBRARY_LINK_C_FLAGS} -static-libgcc")
set(MACOSX_RPATH ON)
if(APPLE)
# add the current location of libsimgrid-java.dynlib as a location for libsimgrid.dynlib
- # (useful when unpacking the native libraries from the jarfile)
+ # (useful when unpacking the native libraries from the jarfile)
set(CMAKE_INSTALL_RPATH "@loader_path/.")
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
endif()
# On Mac OSX or with pull requests, you don't want to run SonarQube but to exec the build command directly.
-# Be verbose and fail fast
+# Be verbose and fail fast
set -ex
# Install required software
| grep -v 'INFO: Parsing /home/travis/build/simgrid/simgrid/Testing/CoverageInfo' \
| grep -v 'WARN: File not analysed by Sonar, so ignoring coverage: /usr/include/'
-exit $outcome
\ No newline at end of file
+exit $outcome
fi
done
-### Cleanup previous runs
+### Cleanup previous runs
! [ -z "$WORKSPACE" ] || die "No WORKSPACE"
[ -d "$WORKSPACE" ] || die "WORKSPACE ($WORKSPACE) does not exist"
fi
done
-### Cleanup previous runs
+### Cleanup previous runs
! [ -z "$WORKSPACE" ] || die "No WORKSPACE"
[ -d "$WORKSPACE" ] || die "WORKSPACE ($WORKSPACE) does not exist"
cd $WORKSPACE/build
-### Proceed with the tests
+### Proceed with the tests
ctest -D ExperimentalStart || true
cmake -Denable_documentation=OFF -Denable_lua=OFF \
fi
}
-### Cleanup previous runs
+### Cleanup previous runs
! [ -z "$WORKSPACE" ] || die "No WORKSPACE"
[ -d "$WORKSPACE" ] || die "WORKSPACE ($WORKSPACE) does not exist"
fi
done
-### Cleanup previous runs
+### Cleanup previous runs
! [ -z "$WORKSPACE" ] || die "No WORKSPACE"
[ -d "$WORKSPACE" ] || die "WORKSPACE ($WORKSPACE) does not exist"
#test -e /bin/tar || die 1 "I need tar to compile. Please fix your slave."
#test -e /bin/gzip || die 1 "I need gzip to compile. Please fix your slave."
#test -e /usr/include/libunwind.h || die 1 "I need libunwind to compile. Please fix your slave."
-#test -e /usr/include/valgrind/valgrind.h || die 1 "I need valgrind to compile. Please fix your slave."
+#test -e /usr/include/valgrind/valgrind.h || die 1 "I need valgrind to compile. Please fix your slave."
build_mode="$1"
echo "Build mode $build_mode on $(uname -np)" >&2
group1.add_argument('--setenv', metavar='var=value', action='append', help='set a specific environment variable')
group1.add_argument('--cfg', metavar='arg', help='add parameter --cfg=arg to each command line')
group1.add_argument('--log', metavar='arg', help='add parameter --log=arg to each command line')
- group1.add_argument('--ignore-jenkins', action='store_true', help='ignore all cruft generated on SimGrid continous integration servers')
+ group1.add_argument('--ignore-jenkins', action='store_true', help='ignore all cruft generated on SimGrid continous integration servers')
group1.add_argument('--wrapper', metavar='arg', help='Run each command in the provided wrapper (eg valgrind)')
group1.add_argument('--keep', action='store_true', help='Keep the obtained output when it does not match the expected one')