diff --git a/.github/workflows/build_ubuntu_debug.yml b/.github/workflows/build_ubuntu_debug.yml index 58aac6a42..d6d5cad4b 100644 --- a/.github/workflows/build_ubuntu_debug.yml +++ b/.github/workflows/build_ubuntu_debug.yml @@ -1,5 +1,10 @@ name: Build Debug (Ubuntu) -on: [push, pull_request] + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) @@ -16,15 +21,8 @@ jobs: compiler: [g++-10, g++-9, g++-8, g++-7, clang-6, clang-7, clang-8, clang-9, clang-10, clang-11, clang-12] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - - name: Caching objects - id: cache-objects - uses: actions/cache@v4 - with: - path: ~/.cache/ccache - key: ${{ runner.os }}-${{env.BUILD_TYPE}}-${{ matrix.compiler }}-objects - - name: Install Dependencies shell: bash run: | diff --git a/AUTHORS b/AUTHORS index 47e9ce4b9..604157f80 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,52 +1,41 @@ Current maintainers =================== - +Arnaud Liefooghe +Clive Canape Johann Dreo +Sébastien Verel +Active developpers +================== +Alexandre Quemy +Benjamin Bouvier +Caner Candan +Pierre Savéant Past contributors ================= - atantar -Alesandro Sidero -Alexandre Quemy -Alix Zheng -Amine Aziz-Alaoui -Arnaud Liefooghe -Benjamin Bouvier -Bahri -Caner Candan -Clive Canape fatene Gustavo Romero Lopez jboisson Jeroen Eggermont Jochen Küpper -Joost +Joost Juan Julian Merelo Guervos Jérémie Humeau -Jxtopher Karima Boufaras -legillono -Leo Bertheas +legillon Louis Da Costa Loïc Jean David Arjanen Maarten Keijzer -Mammar Amara -Manu Marc Schoenauer Marie-Éleonore Mostepha Khouadjia Olivier König -Pierre Savéant Pedro Angel Castillo Valdivieso -Potalas -Ronald Pinho Steve Madere Sébastien Cahon -Sébastien Verel Thomas Legrand -Thibault Lasnier Victor Manuel Rivas Santos wcancino xohm diff --git a/CMakeLists.txt b/CMakeLists.txt index 52c1fa4a5..abe421bb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,24 +13,13 @@ cmake_minimum_required(VERSION 3.10 FATAL_ERROR) ## Name project("ParadisEO" - VERSION 3.1.3 + VERSION 3.0.0 DESCRIPTION "Evolutionary optimization framework" LANGUAGES C CXX) ## Language set(CMAKE_CXX_STANDARD 17) -## ccache -find_program(CCACHE_PROGRAM ccache) - -if (CCACHE_PROGRAM) - message(NOTICE "-- ccache is enabled (found here: ${CCACHE_PROGRAM})") - set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "\"${CCACHE_PROGRAM}\"") - set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK "\"${CCACHE_PROGRAM}\"") -else () - message(NOTICE "-- ccache has not been found") -endif () - ###################################################################################### ### 2) Check dependencies @@ -93,7 +82,7 @@ set(MPI "false" CACHE BOOL "Build the MPI module") ## EO Module set(MODULE_NAME "Paradiseo") -set(DOXYGEN_CONFIG_DIR ${CMAKE_CURRENT_SOURCE_DIR}/doxygen) +set(DOXYGEN_CONFIG_DIR ${CMAKE_SOURCE_DIR}/doxygen) # set(EO_MODULE_NAME "Evolving Objects") set(CMAKE_SOURCE_DIR ${EO_SRC_DIR}) add_subdirectory(${EO_SRC_DIR}) diff --git a/INSTALL.md b/INSTALL.md index a3fb4e1b7..b30e1c76f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -2,8 +2,7 @@ Summary ======= -As Paradiseo is a development framework, you do not really need to install it on all your systems. -Just put it somewhere on your development computer, compile it from here and indicate where to find it to your favorite build system. +As Paradiseo is a development framework, you do not really need to install it on all your systems. Just put it somewhere on your development computer, compile it from here and indicate where to find it to your favorite build system. Build @@ -19,11 +18,6 @@ Paradiseo use the CMake build system, so building it should be as simple as: mkdir build ; cd build ; cmake -DEDO=ON .. && make -j ``` -The file `howto_build_paradiseo.apptainer.def` shows you how to install and build from scratch. -It is a definition file for the [Apptainer](https://apptainer.org/) container system, -which is often used on HPC clusters. - - Develop ------- @@ -193,13 +187,13 @@ Examples and lessons are generated when `ENABLE_CMAKE_EXAMPLE` is set. If you want to build a specific lesson or example, you can check the list of available targets with `make help`. All lessons are build on the same pattern: `Lesson`. -For instance, make `moLesson4` will build the Lesson 4 from the MO module. +For instance, make `moLesson4` will build the Lesson 4 from the MO module. Easy, isn't it ? Tests ----- -By performing tests, you can check your installation. +By performing tests, you can check your installation. Testing is disable by default, except if you build with the full install type. To enable testing, define `ENABLE_CMAKE_TESTING` when you run cmake. diff --git a/README.md b/README.md index 78f5c96fe..686b08334 100644 --- a/README.md +++ b/README.md @@ -168,7 +168,7 @@ It is, for instance, easy to start with a simple local search, then add multi-ob Paradiseo is mainly developed under Linux operating systems, where its dependencies and the C++ toolchain are easy to install. Recent versions have been tested with gcc and clang compilers. -Stable versions should however work on Windows and any Unix-like operating system with a standard-conforming C++ development system. +Stable versions should however work on Windows and any Unix-like operating system with a standard-conforming C++ development system. # Code @@ -195,7 +195,7 @@ The build chain uses the classical workflow of CMake. The recommended method is Under Linux, the default is make, and a build command is straitghtforward: `mkdir build ; cd build ; cmake .. && make -j`. -There is, however, several build options which you may want to switch. To see them, we recommend the use of a CMake gui, like ccmake or cmake-gui. On the command line, you can see the available options with: `cmake -LH ..` . Those options can be set with the `-D