mirror of
https://github.com/araxiaonline/AzerothCore-wotlk-with-NPCBots.git
synced 2026-06-13 03:22:24 -04:00
Added faster linker
This commit is contained in:
3
.github/workflows/add-to-project.yml
vendored
3
.github/workflows/add-to-project.yml
vendored
@@ -10,6 +10,7 @@ env:
|
||||
jobs:
|
||||
assign_one_project:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
||||
name: Assign to One Project
|
||||
steps:
|
||||
|
||||
@@ -103,4 +104,4 @@ jobs:
|
||||
contains(github.event.issue.labels.*.name, '80')
|
||||
with:
|
||||
project: 'https://github.com/azerothcore/azerothcore-wotlk/projects/38'
|
||||
|
||||
|
||||
|
||||
@@ -42,7 +42,8 @@ WORKDIR /azerothcore
|
||||
FROM skeleton AS build
|
||||
|
||||
ARG CTOOLS_BUILD="all"
|
||||
ARG CTYPE="RelWithDebInfo"
|
||||
# ARG CTYPE="RelWithDebInfo"
|
||||
ARG CTYPE="Release"
|
||||
ARG CCACHE_CPP2="true"
|
||||
ARG CSCRIPTPCH="OFF"
|
||||
ARG CSCRIPTS="static"
|
||||
@@ -53,7 +54,7 @@ ARG CMAKE_EXTRA_OPTIONS=""
|
||||
ARG GIT_DISCOVERY_ACROSS_FILESYSTEM=1
|
||||
|
||||
ARG CCACHE_DIR="/ccache"
|
||||
ARG CCACHE_MAXSIZE="1000MB"
|
||||
ARG CCACHE_MAXSIZE="1500MB"
|
||||
ARG CCACHE_SLOPPINESS="pch_defines,time_macros,include_file_mtime"
|
||||
ARG CCACHE_COMPRESS=""
|
||||
ARG CCACHE_COMPRESSLEVEL="9"
|
||||
@@ -99,6 +100,9 @@ RUN --mount=type=cache,target=/ccache,sharing=locked \
|
||||
-DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \
|
||||
-DCMAKE_C_COMPILER_LAUNCHER="ccache" \
|
||||
-DBoost_USE_STATIC_LIBS="ON" \
|
||||
-DCMAKE_LINKER=lld \
|
||||
-DCMAKE_CXX_LINKER=lld \
|
||||
-DCMAKE_C_LINKER=lld \
|
||||
&& cmake --build . --config "$CTYPE" -j $(($(nproc) + 1)) \
|
||||
&& cmake --install . --config "$CTYPE"
|
||||
|
||||
|
||||
@@ -66,9 +66,11 @@ services:
|
||||
DOCKER_USER: ${DOCKER_USER:-acore}
|
||||
networks:
|
||||
- ac-network
|
||||
|
||||
stdin_open: true
|
||||
tty: true
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
env_file:
|
||||
${DOCKER_AC_ENV_FILE:-conf/dist/env.ac}
|
||||
environment:
|
||||
|
||||
@@ -234,7 +234,7 @@ void ScriptMgr::CheckIfScriptsInDatabaseExist()
|
||||
!ScriptRegistry<GroupScript>::GetScriptById(sid) &&
|
||||
!ScriptRegistry<DatabaseScript>::GetScriptById(sid))
|
||||
{
|
||||
LOG_ERROR("sql.sql", "Script named '{}' is assigned in the database, but has no code!", scriptName);
|
||||
LOG_ERROR("sql.sql", "Script named '{}' Id {} is assigned in the database, but has no code!", scriptName, sid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user