Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
nexedi
MariaDB
Commits
319404ab
Commit
319404ab
authored
May 23, 2003
by
guilhem@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Outcome of discussions with Lenz and Monty about handling ccache in the build commands.
parent
cf79c475
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
BUILD/SETUP.sh
BUILD/SETUP.sh
+17
-1
configure.in
configure.in
+1
-1
No files found.
BUILD/SETUP.sh
View file @
319404ab
...
...
@@ -71,6 +71,22 @@ else
make
=
make
fi
if
test
-z
$CXX
;
then
if
test
-z
"
$CXX
"
;
then
CXX
=
gcc
fi
# If ccache (a compiler cache which reduces build time)
# (http://samba.org/ccache) is installed, use it.
# We use 'grep' and hope 'grep' will work as expected
# (returns 0 if finds lines)
if
ccache
-V
>
/dev/null 2>&1
then
if
!
(
echo
"
$CC
"
|
grep
"ccache"
>
/dev/null
)
then
CC
=
"ccache
$CC
"
fi
if
!
(
echo
"
$CXX
"
|
grep
"ccache"
>
/dev/null
)
then
CXX
=
"ccache
$CXX
"
fi
fi
configure.in
View file @
319404ab
...
...
@@ -361,7 +361,7 @@ then
# we will gets some problems when linking static programs.
# The following code is used to fix this problem.
if
test
"
$CXX
"
=
"gcc"
if
test
"
$CXX
"
=
"gcc"
-o
"
$CXX
"
=
"ccache gcc"
then
if
$CXX
-v
2>&1 |
grep
'version 3'
>
/dev/null 2>&1
then
...
...
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