git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5964d03
)
+bin/ccache-build
author
Jan Kratochvil
<jkratochvil@openjdk.org>
Fri, 28 Jul 2023 10:36:58 +0000
(18:36 +0800)
committer
Jan Kratochvil
<jan@jankratochvil.net>
Fri, 28 Jul 2023 10:38:24 +0000
(18:38 +0800)
bin/ccache-build
[new file with mode: 0755]
patch
|
blob
diff --git a/bin/ccache-build
b/bin/ccache-build
new file mode 100755
(executable)
index 0000000..
df63d74
--- /dev/null
+++ b/
bin/ccache-build
@@ -0,0
+1,12
@@
+#! /bin/bash
+# openjdk: export PATH="$(echo "$PATH"|sed 's#:/usr/lib64/ccache:#:'$HOME'/ccache:#')";bash configure --disable-precompiled-headers --disable-ccache
+set -ex
+rm -rf ~/ccache
+mkdir ~/ccache
+cd ~/ccache
+for i in /usr/lib64/ccache/*;do
+ j=`basename $i`
+ echo -e '#! /bin/bash\nexport PATH="$(echo "$PATH"|sed s#:$HOME/ccache:#:#)"\nexec '$i' "$@"' >$j
+ chmod +x $j
+done
+echo done