diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2022-11-07 13:20:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 13:20:48 +0100 |
commit | e4016823d7ee5e77aa6cb162a3eed584d7b35a87 (patch) | |
tree | e7f6d18ac7a28b6c097b999efed93bf7e052a505 /apps/compiler/includes/functions.sh | |
parent | 6177ce4688fc34af7cebb0d47a15be1553fbffc1 (diff) |
feat(CORE): docker permissions and rework (#13454)
- fix docker permissions with mounted volumes on new docker versions (https://github.com/docker/desktop-linux/issues/31)
- fix ac-tools image
- cleanup unused env
- add `cap_add: SYS_NICE` to allow setting process high priority
- fix ccache in docker
- allow to switch between root user (default) to acore user in any container
- fix cache of the downloaded client data
- split docker github actions in 2 parts
- versioning mysql images
- performance improvements
Diffstat (limited to 'apps/compiler/includes/functions.sh')
-rw-r--r-- | apps/compiler/includes/functions.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/compiler/includes/functions.sh b/apps/compiler/includes/functions.sh index 842f65b85b..25cc507bcc 100644 --- a/apps/compiler/includes/functions.sh +++ b/apps/compiler/includes/functions.sh @@ -17,6 +17,8 @@ function comp_ccacheEnable() { export CCACHE_CPP2=${CCACHE_CPP2:-true} # optimization for clang export CCACHE_COMPRESS=${CCACHE_COMPRESS:-1} export CCACHE_COMPRESSLEVEL=${CCACHE_COMPRESSLEVEL:-9} + export CCACHE_COMPILERCHECK=${CCACHE_COMPILERCHECK:-content} + export CCACHE_LOGFILE=${CCACHE_LOGFILE:-"$CCACHE_DIR/cache.debug"} #export CCACHE_NODIRECT=true export CCUSTOMOPTIONS="$CCUSTOMOPTIONS -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" @@ -106,6 +108,8 @@ function comp_compile() { cd $BUILDPATH + comp_ccacheEnable + comp_ccacheResetStats time cmake --build . --config $CTYPE -j $MTHREADS |