Commits (6)
......@@ -27,7 +27,7 @@ repos:
files: '.*\.cpp'
stages: [commit, manual]
- repo: https://github.com/ambv/black
rev: stable
rev: 20.8b1
hooks:
- id: black
exclude: 'ThirdParty|LinearMFront/generate_ref.py'
......
......@@ -131,7 +131,7 @@ if(GEOTIFF_FOUND)
include_directories(${GEOTIFF_INCLUDE_DIRS})
endif() # GEOTIFF_FOUND
ogs_add_library(QtDataView ${SOURCES} ${HEADERS} ${UIS})
ogs_add_library(QtDataView STATIC ${SOURCES} ${HEADERS} ${UIS})
target_link_libraries(
QtDataView
......
......@@ -132,7 +132,7 @@ include_directories(
${GUI_SOURCE_DIR_REL}/VtkModules/Qt
)
ogs_add_library(VtkVis ${SOURCES} ${HEADERS} ${UIS})
ogs_add_library(VtkVis STATIC ${SOURCES} ${HEADERS} ${UIS})
if(GEOTIFF_FOUND)
target_compile_definitions(VtkVis PRIVATE GEOTIFF_FOUND)
......
Subproject commit f3b23f2ac47237ee1fc2c19b09125b7a23201047
Subproject commit 56dcaa7d5c0ea2cda99259aa2a896a7bfaa6f8d0
......@@ -3,7 +3,7 @@ build docs:
tags: [envinf2-shell]
dependencies: [meta]
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG
variables:
ON_MASTER: "true"
DEPLOY: "true"
......
......@@ -20,19 +20,19 @@ container:
poetry run ogscm compiler.py ogs.py -B -C -R --ogs ../..
--build_args ' --progress=plain'
--cvode --ccache --mfront
--cmake_args ' -DOGS_CPU_ARCHITECTURE=sandybridge -DBUILD_TESTING=OFF'
--cmake_args ' -DOGS_CPU_ARCHITECTURE=sandybridge -DOGS_BUILD_TESTING=OFF'
$DOCKER_TAG
- >
poetry run ogscm compiler.py mpi.py ogs.py -B -C -R --ogs ../..
--build_args ' --progress=plain'
--cvode --ccache
--cmake_args ' -DOGS_CPU_ARCHITECTURE=sandybridge -DBUILD_TESTING=OFF'
--cmake_args ' -DOGS_CPU_ARCHITECTURE=sandybridge -DOGS_BUILD_TESTING=OFF'
--base_image 'centos:8' --ompi 4.0.5 --mpi_benchmarks
- >
poetry run ogscm compiler.py ogs.py -B -C -R --ogs ../..
--build_args ' --progress=plain'
--cvode --ccache
--cmake_args ' -DOGS_CPU_ARCHITECTURE=sandybridge -DBUILD_TESTING=OFF'
--cmake_args ' -DOGS_CPU_ARCHITECTURE=sandybridge -DOGS_BUILD_TESTING=OFF'
--gui
artifacts:
name: container
......
......@@ -45,6 +45,7 @@ deploy web site:
image: $WEB_IMAGE
needs: ["pre commit"]
rules:
- if: $CI_COMMIT_TAG
- if: '$CI_COMMIT_BRANCH == "master"'
changes:
- web/**/*
......
......@@ -83,12 +83,20 @@ endfunction()
# Replacement for add_library() for ogs targets
function(ogs_add_library targetName)
foreach(file ${ARGN})
set(options STATIC SHARED)
cmake_parse_arguments(ogs_add_library "${options}" "" "" ${ARGN})
foreach(file ${ogs_add_library_UNPARSED_ARGUMENTS})
get_filename_component(file_path ${file} REALPATH)
list(APPEND files ${file_path})
endforeach()
add_library(${targetName} ${files})
if(ogs_add_library_STATIC)
set(type STATIC)
elseif(ogs_add_library_SHARED)
set(type SHARED)
endif()
add_library(${targetName} ${type} ${files})
target_compile_options(
${targetName}
PRIVATE # OR does not work with cotire
......
+++
date = "2020-12-18T14:30:13+01:00"
date = "2021-04-01T14:30:13+01:00"
title = "OpenGeoSys 6.4.0"
tag = "6.4.0"
author = "Lars Bilke"
......