Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libQCR
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mlz
libQCR
Commits
a6eb7fef
Commit
a6eb7fef
authored
Aug 31, 2020
by
Wuttke, Joachim
Committed by
Wuttke, Joachim
Sep 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: restore debT_clang (needs g++ for libstdc++)
parent
7cfd3e9a
Pipeline
#29072
passed with stage
in 64 minutes and 10 seconds
Changes
2
Pipelines
141
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
15 deletions
+23
-15
.gitlab-ci.yml
.gitlab-ci.yml
+22
-14
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
.gitlab-ci.yml
View file @
a6eb7fef
...
...
@@ -5,11 +5,13 @@ debS_clang:
tags
:
&unix
-
Linux
image
:
debian:stable
before_script
:
&debian_clang
before_script
:
-
apt-get -y update
-
apt-get -y upgrade
-
apt-get -y install cmake
perl qtbase5-dev
-
apt-get -y install cmake
-
apt-get -y install clang
-
apt-get -y install qtbase5-dev
-
export CC=clang; export CXX=clang++
stage
:
build
script
:
&scr
-
mkdir build
...
...
@@ -24,15 +26,22 @@ debS_gcc:
before_script
:
&debian_gcc
-
apt-get -y update
-
apt-get -y upgrade
-
apt-get -y install cmake
perl qtbase5-dev
-
apt-get -y install cmake
-
apt-get -y install g++
-
apt-get -y install qtbase5-dev
stage
:
build
script
:
*scr
debT_clang
:
tags
:
*unix
image
:
debian:testing
before_script
:
*debian_gcc
before_script
:
-
apt-get -y update
-
apt-get -y upgrade
-
apt-get -y install cmake
-
apt-get -y install clang g++
-
apt-get -y install qtbase5-dev
-
export CC=clang; export CXX=clang++
stage
:
build
script
:
*scr
...
...
@@ -42,8 +51,6 @@ debT_gcc:
before_script
:
*debian_gcc
stage
:
build
script
:
*scr
#disabled 27jan19: could not find libEGL.
#- reported as Debian bug 949960.
# debU_clang:
# tags: *unix
...
...
@@ -80,12 +87,12 @@ suse_clang:
-
zypper patch || echo "do it again"
-
zypper patch
-
zypper refresh
-
zypper
update -n
-
zypper
-n update
-
zypper dist-upgrade -y
-
zypper install -n -y cmake perl
-
zypper install -n -y libqt5-qtbase-devel
-
zypper install -n -y cmake
-
zypper install -n -y clang libstdc++-devel
-
export CXX=/usr/bin/clang++
-
zypper install -n -y libqt5-qtbase-devel
-
export CC=clang; export CXX=clang++
stage
:
build
script
:
*scr
...
...
@@ -97,11 +104,11 @@ suse_gcc:
-
zypper patch || echo "do it again"
-
zypper patch
-
zypper refresh
-
zypper
update -n
-
zypper
-n update
-
zypper dist-upgrade -y
-
zypper install -n -y cmake perl
-
zypper install -n -y libqt5-qtbase-devel
-
zypper install -n -y cmake
-
zypper install -n -y gcc-c++
-
zypper install -n -y libqt5-qtbase-devel
stage
:
build
script
:
*scr
...
...
@@ -112,8 +119,9 @@ centos8_clang:
-
yum -y update
-
yum -y install epel-release
-
yum repolist
-
yum -y install make cmake
perl qt5-qtbase-devel
-
yum -y install make cmake
-
yum -y install clang gcc libstdc++-devel
-
yum -y install qt5-qtbase-devel
-
export CXX=/usr/bin/clang++
-
ldconfig
-
cmake --version
...
...
CMakeLists.txt
View file @
a6eb7fef
...
...
@@ -35,7 +35,7 @@ if(MSVC)
set
(
CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON
)
set
(
CMAKE_RUNTIME_OUTPUT_DIRECTORY
${
PROJECT_BINARY_DIR
}
/bin/$<CONFIG>
)
else
()
if
(
C
lang
)
if
(
C
MAKE_CXX_COMPILER_ID STREQUAL
"Clang"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fshow-overloads=best"
)
endif
()
set
(
DEB_FLAGS
"-Wall -Wpedantic -Wno-sign-compare -fno-omit-frame-pointer -fsanitize=address"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment