Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
3d3b05ff
Commit
3d3b05ff
authored
Nov 08, 2011
by
Richard Henderson
Committed by
Richard Henderson
Nov 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests for libitm support.
From-SVN: r181169
parent
01f3428c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
3 deletions
+11
-3
ChangeLog
+2
-0
configure
+3
-1
configure.ac
+3
-1
libitm/ChangeLog
+2
-0
libitm/configure.tgt
+1
-1
No files found.
ChangeLog
View file @
3d3b05ff
2011-11-08 Richard Henderson <rth@redhat.com>
2011-11-08 Richard Henderson <rth@redhat.com>
* configure.ac: Adjust srcdir for running libitm/configure.tgt.
* configure.ac: Test libitm/configure.tgt to disable libitm.
* configure.ac: Test libitm/configure.tgt to disable libitm.
* configure: Rebuild.
* configure: Rebuild.
...
...
configure
View file @
3d3b05ff
...
@@ -3061,7 +3061,9 @@ fi
...
@@ -3061,7 +3061,9 @@ fi
if
test
x
$enable_libitm
=
x
;
then
if
test
x
$enable_libitm
=
x
;
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for libitm support"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for libitm support"
>
&5
$as_echo_n
"checking for libitm support... "
>
&6
;
}
$as_echo_n
"checking for libitm support... "
>
&6
;
}
if
(
.
${
srcdir
}
/libitm/configure.tgt
;
test
-n
"
$UNSUPPORTED
"
)
;
then
if
(
srcdir
=
${
srcdir
}
/libitm
;
\
.
${
srcdir
}
/configure.tgt
;
\
test
-n
"
$UNSUPPORTED
"
)
;
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
$as_echo
"no"
>
&6
;
}
noconfigdirs
=
"
$noconfigdirs
target-libitm"
noconfigdirs
=
"
$noconfigdirs
target-libitm"
...
...
configure.ac
View file @
3d3b05ff
...
@@ -496,7 +496,9 @@ fi
...
@@ -496,7 +496,9 @@ fi
# Disable libitm on unsupported hosted systems.
# Disable libitm on unsupported hosted systems.
if test x$enable_libitm = x; then
if test x$enable_libitm = x; then
AC_MSG_CHECKING([for libitm support])
AC_MSG_CHECKING([for libitm support])
if (. ${srcdir}/libitm/configure.tgt; test -n "$UNSUPPORTED"); then
if (srcdir=${srcdir}/libitm; \
. ${srcdir}/configure.tgt; \
test -n "$UNSUPPORTED"); then
AC_MSG_RESULT([no])
AC_MSG_RESULT([no])
noconfigdirs="$noconfigdirs target-libitm"
noconfigdirs="$noconfigdirs target-libitm"
else
else
...
...
libitm/ChangeLog
View file @
3d3b05ff
2011-11-08 Richard Henderson <rth@redhat.com>
2011-11-08 Richard Henderson <rth@redhat.com>
* configure.tgt: Test correct directory for supported cpus.
* configure.ac: Exit if unsupported.
* configure.ac: Exit if unsupported.
* configure: Rebuild.
* configure: Rebuild.
* configure.tgt: Delete boilerplate from libgomp for unsupported
* configure.tgt: Delete boilerplate from libgomp for unsupported
...
...
libitm/configure.tgt
View file @
3d3b05ff
...
@@ -77,7 +77,7 @@ case "${target_cpu}" in
...
@@ -77,7 +77,7 @@ case "${target_cpu}" in
esac
esac
# For the benefit of top-level configure, determine if the cpu is supported.
# For the benefit of top-level configure, determine if the cpu is supported.
test -d ${srcdir}/$ARCH || UNSUPPORTED=1
test -d ${srcdir}/
config/
$ARCH || UNSUPPORTED=1
# Since we require POSIX threads, assume a POSIX system by default.
# Since we require POSIX threads, assume a POSIX system by default.
config_path="$ARCH posix generic"
config_path="$ARCH posix generic"
...
...
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