Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
ThirdParty-common
Commits
0e599b7a
Commit
0e599b7a
authored
Jul 18, 2018
by
Mark OLESEN
Browse files
ENH: add optional -clang flag for building gcc
- can be useful when bootstrapping
parent
1a1c6244
Changes
14
Hide whitespace changes
Inline
Side-by-side
etc/tools/ThirdPartyFunctions
View file @
0e599b7a
...
...
@@ -64,7 +64,7 @@ exportLinker()
# Force use of gcc/g++
useGcc
()
{
export
CC
=
gcc
# Use gcc/g++
export
CC
=
gcc
export
CXX
=
g++
}
...
...
makeADIOS
View file @
0e599b7a
...
...
@@ -41,8 +41,8 @@ usage() {
usage:
${
0
##*/
}
[OPTION] [adios-VERSION] [-- configure-options]
options:
-cmake PATH
With cmake from the path given
-gcc
Force gcc/g++ instead of
the values from
\$
WM_CC,
\$
WM_CXX
-cmake PATH With cmake from the path given
-gcc Force gcc/g++ instead of
using
\$
WM_CC,
\$
WM_CXX
-help
* Build ADIOS
...
...
makeADIOS2
View file @
0e599b7a
...
...
@@ -39,8 +39,8 @@ usage() {
usage:
${
0
##*/
}
[OPTION] [adios-VERSION]
options:
-cmake PATH
With cmake from the path given
-gcc
Force gcc/g++ instead of
the values from
\$
WM_CC,
\$
WM_CXX
-cmake PATH With cmake from the path given
-gcc Force gcc/g++ instead of
using
\$
WM_CC,
\$
WM_CXX
-help
* Build ADIOS2
...
...
makeCCMIO
View file @
0e599b7a
...
...
@@ -51,7 +51,7 @@ usage()
Usage:
${
0
##*/
}
[OPTION] [lib|libso] [libccmio-VERSION]
options:
-gcc
Force gcc/g++ instead of
the values from
\$
WM_CC,
\$
WM_CXX
-gcc Force gcc/g++ instead of
using
\$
WM_CC,
\$
WM_CXX
-help
* Compile the proprietary libccmio library
...
...
makeCmake
View file @
0e599b7a
...
...
@@ -42,8 +42,8 @@ usage() {
usage:
${
0
##*/
}
[OPTION] cmake-VERSION
options:
-gcc
Force gcc/g++ instead of
the values from
\$
WM_CC,
\$
WM_CXX
-link
Create additional symlink as 'cmake-system'
-gcc Force gcc/g++ instead of
using
\$
WM_CC,
\$
WM_CXX
-link Create additional symlink as 'cmake-system'
-help
* build cmake
...
...
makeFFTW
View file @
0e599b7a
...
...
@@ -59,7 +59,7 @@ usage() {
usage:
${
0
##*/
}
[OPTION] [fftw-VERSION] [-- configure-options]
options:
-gcc
Force gcc/g++ instead of
the values from
\$
WM_CC,
\$
WM_CXX
-gcc Force gcc/g++ instead of
using
\$
WM_CC,
\$
WM_CXX
-help
* build FFTW with
...
...
makeGcc
View file @
0e599b7a
...
...
@@ -60,6 +60,7 @@ usage() {
usage:
${
0
##*/
}
[OPTION] [gcc-VERSION] [gmp-VERSION] [mpfr-VERSION] [mpc-VERSION]
options:
-clang Force clang/clang++ for building
-multilib for 64-bit systems with 32-bit support required
-no-multilib for 64-bit systems without 32-bit support (DEFAULT)
-no-threadsafe disable mpfr thread-safe (default is auto-detect)
...
...
@@ -86,6 +87,10 @@ do
case
"
$1
"
in
''
)
;;
# Ignore empty
-h
|
-help
)
usage
;;
-clang
)
# Force use of clang/clang++ for building
export
CC
=
clang
export
CXX
=
clang++
;;
-multi
*
)
optMultilib
=
enable
...
...
@@ -133,6 +138,8 @@ GCC configuration
MPFR =
$mpfrPACKAGE
MPC =
$mpcPACKAGE
------------------
Using CC =
$CC
$CFLAGS
Using CXX =
$CXX
$CXXFLAGS
SUMMARY
# Set 32 or 64 bit ABI
...
...
makeGperftools
View file @
0e599b7a
...
...
@@ -41,7 +41,7 @@ usage() {
usage:
${
0
##*/
}
[gperftools-VERSION]
options:
-gcc
Force gcc/g++ instead of
the values from
\$
WM_CC,
\$
WM_CXX
-gcc Force gcc/g++ instead of
using
\$
WM_CC,
\$
WM_CXX
-help
* build gperftools
...
...
makeKAHIP
View file @
0e599b7a
...
...
@@ -75,7 +75,7 @@ usage()
Usage:
${
0
##*/
}
[OPTION] [lib|libso] [kahip-VERSION]
options:
-gcc
Force gcc/g++ instead of
the values from
\$
WM_CC,
\$
WM_CXX
-gcc Force gcc/g++ instead of
using
\$
WM_CC,
\$
WM_CXX
-help
* Compile KaHIP
...
...
makeMETIS
View file @
0e599b7a
...
...
@@ -74,7 +74,7 @@ usage() {
usage:
${
0
##*/
}
[OPTION] [lib|libso] [METIS-VERSION]
options:
-gcc
Force gcc/g++ instead of
the values from
\$
WM_CC,
\$
WM_CXX
-gcc Force gcc/g++ instead of
using
\$
WM_CC,
\$
WM_CXX
-help
* build METIS with
...
...
makeMGridGen
View file @
0e599b7a
...
...
@@ -42,7 +42,7 @@ usage() {
usage:
${
0
##*/
}
[OPTION] [mgridgen-VERSION]
options:
-gcc
Force gcc/g++ instead of
the values from
\$
WM_CC,
\$
WM_CXX
-gcc Force gcc/g++ instead of
using
\$
WM_CC,
\$
WM_CXX
-help
* Build MGridGen
...
...
makeMesa
View file @
0e599b7a
...
...
@@ -49,7 +49,7 @@ usage() {
usage:
${
0
##*/
}
[OPTION] mesa-VERSION [-- configure-options]
options:
-gcc
Force gcc/g++ instead of
the values from
\$
WM_CC,
\$
WM_CXX
-gcc Force gcc/g++ instead of
using
\$
WM_CC,
\$
WM_CXX
-help
* build Mesa with
...
...
makeOPENMPI
View file @
0e599b7a
...
...
@@ -70,7 +70,7 @@ usage() {
usage:
${
0
##*/
}
[OPTION] [openmpi-VERSION] [-- configure-options]
options:
-gcc Force gcc/g++ instead of
the values from
\$
WM_CC,
\$
WM_CXX
-gcc Force gcc/g++ instead of
using
\$
WM_CC,
\$
WM_CXX
-memcheck Configure with --enable-memcheck (requires valgrind.h)
-threaded Configure with --enable-mpi-thread-multiple
-no-threaded Configure with --disable-mpi-thread-multiple
...
...
makeQt
View file @
0e599b7a
...
...
@@ -35,7 +35,7 @@ usage() {
usage:
${
0
##*/
}
[OPTION] [qt-VERSION] [-- configure-options]
options:
-gcc Force gcc/g++ instead of
the values from
\$
WM_CC,
\$
WM_CXX
-gcc Force gcc/g++ instead of
using
\$
WM_CC,
\$
WM_CXX
-help
* build
$qtTYPE
, version
${
qtVERSION
:-
undefined
}
...
...
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