Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenMesh
OpenMesh
Commits
512bc07f
Commit
512bc07f
authored
Dec 15, 2015
by
Jan Möbius
Browse files
Use icecc for gcc builds on linux
parent
4cfbfbf2
Pipeline
#402
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CI/ci-linux.sh
View file @
512bc07f
...
...
@@ -7,11 +7,18 @@ LANGUAGE=$2
set
-e
OPTIONS
=
""
MAKE_OPTIONS
=
""
BUILDPATH
=
""
if
[
"
$COMPILER
"
==
"gcc"
]
;
then
echo
"Building with GCC"
;
BUILDPATH
=
"gcc"
# without icecc: no options required
OPTIONS
=
"-DCMAKE_CXX_COMPILER=/usr/lib/icecc/bin/g++ -DCMAKE_C_COMPILER=/usr/lib/icecc/bin/gcc"
MAKE_OPTIONS
=
"-j16"
export
ICECC_CXX
=
/usr/bin/g++
;
export
ICECC_CC
=
/usr/bin/gcc
elif
[
"
$COMPILER
"
==
"clang"
]
;
then
OPTIONS
=
"
$OPTIONS
-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang"
...
...
@@ -53,10 +60,10 @@ cd build-release-$BUILDPATH-Vector-Checks
cmake
-DCMAKE_BUILD_TYPE
=
Release
-DOPENMESH_BUILD_UNIT_TESTS
=
TRUE
-DSTL_VECTOR_CHECKS
=
ON
-DOPENMESH_BUILD_PYTHON_BINDINGS
=
OFF
$OPTIONS
../
#build it
make
make
$MAKE_OPTIONS
#build the unit tests
make unittests
make
$MAKE_OPTIONS
unittests
echo
-e
"
${
OUTPUT
}
"
echo
""
...
...
@@ -89,7 +96,7 @@ cd build-release-$BUILDPATH
cmake
-DCMAKE_BUILD_TYPE
=
Release
-DOPENMESH_BUILD_PYTHON_UNIT_TESTS
=
ON
-DBUILD_APPS
=
OFF
$OPTIONS
../
#build it
make
make
$MAKE_OPTIONS
echo
-e
"
${
OUTPUT
}
"
echo
""
...
...
@@ -135,10 +142,10 @@ cd build-debug-$BUILDPATH-Vector-Checks
cmake
-DCMAKE_BUILD_TYPE
=
Debug
-DOPENMESH_BUILD_UNIT_TESTS
=
TRUE
-DSTL_VECTOR_CHECKS
=
ON
-DOPENMESH_BUILD_PYTHON_BINDINGS
=
OFF
$OPTIONS
../
#build it
make
make
$MAKE_OPTIONS
#build the unit tests
make unittests
make
$MAKE_OPTIONS
unittests
echo
-e
"
${
OUTPUT
}
"
echo
""
...
...
@@ -172,7 +179,7 @@ cd build-debug-$BUILDPATH
cmake
-DCMAKE_BUILD_TYPE
=
DEBUG
-DOPENMESH_BUILD_PYTHON_UNIT_TESTS
=
ON
-DBUILD_APPS
=
OFF
$OPTIONS
../
#build it
make
make
$MAKE_OPTIONS
echo
-e
"
${
OUTPUT
}
"
echo
""
...
...
Jan Möbius
@moebius
mentioned in commit
72a4e1f9
·
Dec 15, 2015
mentioned in commit
72a4e1f9
mentioned in commit 72a4e1f9fa693b4d290743eb047fed0a4899f459
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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