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
csst-pipeline
msc
sextractor
Commits
e17e5974
Commit
e17e5974
authored
Jul 12, 2012
by
Emmanuel Bertin
Browse files
Replaced --enable-gprof configuration with --enable-profiling.
Switched on --enable-mkl for make rpm-best.
parent
6847fc4b
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure
View file @
e17e5974
...
...
@@ -770,7 +770,7 @@ with_fftw_incdir
with_xsl_url
enable_model_fitting
enable_threads
enable_
g
prof
enable_prof
iling
enable_best_link
'
ac_precious_vars
=
'build_alias
...
...
@@ -1421,8 +1421,7 @@ Optional Features:
--enable-threads[=<max_number_of_threads>]
Enable multhreading (on with up to 16 threads by
default)
--enable-gprof Enable special mode for compilation with the gprof
profiler (off by default)
--enable-profiling Enable special mode for profiling (off by default)
--enable-best-link Choose the right combination of static and dynamic
linking to make the executable as portable as
possible (off by default)
...
...
@@ -12888,12 +12887,12 @@ fi
# Deactivate multithreading for now
use_pthreads
=
"no"
# Provide special option for
gprof
profiling
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for
gprof
profiler mode"
>
&5
$as_echo_n
"checking for
gprof
profiler mode... "
>
&6
;
}
# Check whether --enable-
g
prof was given.
if
test
"
${
enable_
g
prof
+set
}
"
=
set
;
then
:
enableval
=
$enable_
g
prof
;
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: yes"
>
&5
# Provide special option for profiling
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for profiler mode"
>
&5
$as_echo_n
"checking for profiler mode... "
>
&6
;
}
# Check whether --enable-prof
iling
was given.
if
test
"
${
enable_prof
iling
+set
}
"
=
set
;
then
:
enableval
=
$enable_prof
iling
;
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: yes"
>
&5
$as_echo
"yes"
>
&6
;
}
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
...
...
@@ -15017,8 +15016,8 @@ fi
fi
fi
#
Link
with
g
prof option
if
test
"
$enable_
g
prof
"
=
"yes"
;
then
#
Compile
with prof
iling
option
if
test
"
$enable_prof
iling
"
=
"yes"
;
then
if
test
"
$enable_icc
"
=
"yes"
;
then
AM_CFLAGS
=
"
$AM_CFLAGS
-pq"
else
...
...
configure.ac
View file @
e17e5974
...
...
@@ -187,12 +187,11 @@ AC_ARG_ENABLE(threads,
# Deactivate multithreading for now
use_pthreads="no"
# Provide special option for gprof profiling
AC_MSG_CHECKING([for gprof profiler mode])
AC_ARG_ENABLE(gprof,
[AS_HELP_STRING([--enable-gprof],
[Enable special mode for compilation with the gprof profiler \
(off by default)])],
# Provide special option for profiling
AC_MSG_CHECKING([for profiler mode])
AC_ARG_ENABLE(profiling,
[AS_HELP_STRING([--enable-profiling],
[Enable special mode for profiling (off by default)])],
AC_MSG_RESULT([yes]),
AC_MSG_RESULT([no]))
...
...
@@ -256,8 +255,8 @@ if test "$enable_model_fitting" = "yes"; then
fi
fi
#
Link
with
g
prof option
if test "$enable_
g
prof" = "yes"; then
#
Compile
with prof
iling
option
if test "$enable_prof
iling
" = "yes"; then
if test "$enable_icc" = "yes"; then
AM_CFLAGS="$AM_CFLAGS -pq"
else
...
...
sextractor.spec.in
View file @
e17e5974
...
...
@@ -7,7 +7,7 @@
#
# This file part of: SExtractor
#
# Copyright: (C) 2002-201
0
Emmanuel Bertin -- IAP/CNRS/UPMC
# Copyright: (C) 2002-201
2
Emmanuel Bertin -- IAP/CNRS/UPMC
#
# License: GNU General Public License
#
...
...
@@ -22,7 +22,7 @@
# You should have received a copy of the GNU General Public License
# along with SExtractor. If not, see <http://www.gnu.org/licenses/>.
#
# Last modified: 1
0/10
/201
0
# Last modified: 1
2/07
/201
2
#
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...
...
@@ -52,9 +52,9 @@ SExtractor stands for ``Source Extractor'': a software for making catalog of sou
%build
if test "$USE_BEST"; then
%configure --enable-icc --enable-auto-flags --enable-best-link
%configure --enable-icc
--enable-mkl
--enable-auto-flags --enable-best-link
elif test "$USE_ICC"; then
%configure --enable-icc
%configure --enable-icc
--enable-mkl
else
%configure
fi
...
...
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