Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libmtime
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
icon-libraries
libmtime
Merge requests
!86
Draft: Drop Autotools
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: Drop Autotools
drop-autotools
into
master
Overview
0
Commits
4
Pipelines
2
Changes
1
Open
Sergey Kosukhin
requested to merge
drop-autotools
into
master
3 weeks ago
Overview
0
Commits
4
Pipelines
2
Changes
1
Expand
This removes the Autotools build system.
0
0
Merge request reports
Viewing commit
250da5b0
Prev
Next
Show latest version
1 file
+
30
−
38
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
250da5b0
ci: simplify
· 250da5b0
Sergey Kosukhin
authored
3 weeks ago
.gitlab-ci.yml
+
30
−
38
Options
@@ -169,6 +169,19 @@ include:
sed -i "s|^libdir=.*|libdir='${LIBCHECK_ROOT}/lib'|" $(find "${LIBCHECK_ROOT}" -name '*.la')
fi
script
:
-
mkdir build && cd build
-
>
cmake ..
-DBUILD_TESTING:BOOL=ON
-DCheck_ROOT="${LIBCHECK_ROOT}"
-DMTIME_ENABLE_PYTHON:BOOL=ON
-DCMAKE_INSTALL_PREFIX:PATH="${INSTALL_PREFIX}"
-G"${CMAKE_GENERATOR}"
-
${MAKE_CMD} 2>&1 | tee "${BUILD_LOG}"
-
${MAKE_CMD} test
-
${MAKE_CMD} install
-
py_lib_prefix=$(dirname $(find "${INSTALL_PREFIX}" -path '*/mtime/__init__.py' -exec dirname {} + -quit))
-
PYTHONPATH="${py_lib_prefix}${PYTHONPATH+":${PYTHONPATH}"}" python3 test/test_python.sh
-
|
# Check if there are compiler warnings
compiler_warnings="${CI_PROJECT_DIR}/compiler_warnings.txt"
@@ -198,51 +211,30 @@ include:
when
:
manual
-
when
:
always
interruptible
:
true
artifacts
:
when
:
on_failure
paths
:
-
"
**/CMakeCache.txt"
-
"
**/LastTest.log"
cache
:
policy
:
pull
key
:
${LIBCHECK_SHA256}
paths
:
-
${LIBCHECK_ROOT}
.common_
c
make
:
.common_make
files
:
extends
:
.common
variables
:
CMAKE_EXTRA_ARGS
:
script
:
-
mkdir build && cd build
-
>
cmake ..
-DBUILD_TESTING:BOOL=ON
-DCheck_ROOT="${LIBCHECK_ROOT}"
-DMTIME_ENABLE_PYTHON:BOOL=ON
-DCMAKE_INSTALL_PREFIX:PATH="${INSTALL_PREFIX}"
-G"${CMAKE_GENERATOR}"
${CMAKE_EXTRA_ARGS}
-
${MAKE_CMD} 2>&1 | tee "${BUILD_LOG}"
-
${MAKE_CMD} test
-
${MAKE_CMD} install
-
py_lib_prefix=$(dirname $(find "${INSTALL_PREFIX}" -path '*/mtime/__init__.py' -exec dirname {} + -quit))
-
PYTHONPATH="${py_lib_prefix}${PYTHONPATH+":${PYTHONPATH}"}" python3 test/test_python.sh
-
!reference
[
.common
,
script
]
artifacts
:
when
:
on_failure
paths
:
-
"
**/CMakeCache.txt"
-
"
**/LastTest.log"
.common_cmake_makefiles
:
extends
:
.common_cmake
variables
:
CMAKE_GENERATOR
:
Unix Makefiles
MAKE_CMD
:
make --jobs=${JOB_COUNT} VERBOSE=1
.common_
cmake_
ninja
:
extends
:
.common
_cmake
.common_ninja
:
extends
:
.common
variables
:
CMAKE_GENERATOR
:
Ninja
MAKE_CMD
:
ninja -j ${JOB_COUNT} --verbose
before_script
:
-
!reference
[
.common
_cmake
,
before_script
]
-
!reference
[
.common
,
before_script
]
-
export PATH="/sw/spack-levante/ninja-1.11.1-ahbo5l/bin:${PATH}"
.check_gcc
:
@@ -276,36 +268,36 @@ include:
Check with GCC 11.2.0 (Ninja)
:
extends
:
-
.common_
cmake_
ninja
-
.common_ninja
-
.check_gcc
before_script
:
-
!reference
[
.common_
cmake_
ninja
,
before_script
]
-
!reference
[
.common_ninja
,
before_script
]
-
!reference
[
.check_gcc
,
before_script
]
cache
:
policy
:
pull-push
Check with Intel 2021.5.0 (Unix Makefiles)
:
extends
:
-
.common_
cmake_
makefiles
-
.common_makefiles
-
.check_intel
before_script
:
-
!reference
[
.common_
cmake_
makefiles
,
before_script
]
-
!reference
[
.common_makefiles
,
before_script
]
-
!reference
[
.check_intel
,
before_script
]
Check with NVHPC 24.7 (Ninja)
:
extends
:
-
.common_
cmake_
ninja
-
.common_ninja
-
.check_nvhpc
before_script
:
-
!reference
[
.common_
cmake_
ninja
,
before_script
]
-
!reference
[
.common_ninja
,
before_script
]
-
!reference
[
.check_nvhpc
,
before_script
]
Check with NAG 7.1.7114 (Unix Makefiles)
:
extends
:
-
.common_
cmake_
makefiles
-
.common_makefiles
-
.check_nag
before_script
:
-
!reference
[
.common_
cmake_
makefiles
,
before_script
]
-
!reference
[
.common_makefiles
,
before_script
]
-
!reference
[
.check_nag
,
before_script
]
# nagfor is supposed to use non-default gcc:
-
export FFLAGS="-Wc=`which gcc` $FFLAGS"
Loading