Skip to content

Commit 8022eb5

Browse files
authored
Merge branch 'native' into dev_copy2
2 parents 8da9c3f + 076df51 commit 8022eb5

260 files changed

Lines changed: 22364 additions & 5651 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.drone.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/dev-release.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
- '.github/workflows/db_check.yml'
1212
- '.github/workflows/db_dump.yml'
1313
- 'sql/**'
14-
- '.drone.yml'
1514
- 'README.md'
1615
- 'LICENSE'
1716
- '.gitignore'
@@ -26,23 +25,13 @@ jobs:
2625
- uses: actions/checkout@v4
2726

2827
- name: windows dependencies
29-
#Sets versions for ACE/TBB
28+
#Sets versions for TBB
3029
env:
31-
ACE_VERSION: 6.5.11
32-
ACE_VERSION2: 6_5_11
3330
TBB_VERSION: 2020.3
3431

3532
run: |
36-
#directory variables
37-
export ACE_ROOT=$GITHUB_WORKSPACE/ACE_wrappers
33+
# Setup TBB
3834
export TBB_ROOT_DIR=$GITHUB_WORKSPACE/tbb
39-
#ACE package download
40-
curl -LOJ http://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-$ACE_VERSION2/ACE-$ACE_VERSION.zip
41-
unzip ACE-$ACE_VERSION.zip
42-
rm ACE-$ACE_VERSION.zip
43-
#configuration of ACE header
44-
echo "#include \"ace/config-win32.h\"" >> $ACE_ROOT/ace/config.h
45-
#TBB package download
4635
curl -LOJ https://github.com/oneapi-src/oneTBB/releases/download/v$TBB_VERSION/tbb-$TBB_VERSION-win.zip
4736
unzip tbb-$TBB_VERSION-win.zip
4837
rm tbb-$TBB_VERSION-win.zip
@@ -52,11 +41,7 @@ jobs:
5241
#build and install
5342
- name: windows build & install
5443
run: |
55-
#directory variables
56-
export ACE_ROOT=$GITHUB_WORKSPACE/ACE_wrappers
57-
cd $GITHUB_WORKSPACE/ACE_wrappers
58-
/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe "ACE_wrappers_vs2019.sln" //p:Configuration=Release //p:Platform=x64 //t:ACE //m:2
59-
cd $GITHUB_WORKSPACE
44+
# Setup TBB
6045
mkdir build
6146
cd build
6247
cmake -D TBB_ROOT_DIR=$GITHUB_WORKSPACE/tbb -DWITH_WARNINGS=0 -DBUILD_FOR_HOST_CPU=0 -DUSE_EXTRACTORS=1 -G "Visual Studio 16 2019" -A x64 ..
@@ -79,7 +64,6 @@ jobs:
7964
copy ${{github.workspace}}/tbb/bin/intel64/vc14/tbbmalloc_proxy.dll ${{github.workspace}}/bin/Release/tbbmalloc_proxy.dll
8065
copy ${{github.workspace}}/tbb/bin/intel64/vc14/tbbmalloc_proxy_debug.dll ${{github.workspace}}/bin/Release/tbbmalloc_proxy_debug.dll
8166
82-
copy ${{github.workspace}}/ACE_wrappers/lib/ACE.dll ${{github.workspace}}/bin/Release/ACE.dll
8367
copy ${{github.workspace}}/dep/windows/lib/x64_release/libmySQL.dll ${{github.workspace}}/bin/Release/libmySQL.dll
8468
# copy "c:/Program Files/OpenSSL-Win64/bin/libssl-1_1-x64.dll" ${{github.workspace}}/bin/Release/libssl-1_1-x64.dll
8569
# copy "c:/Program Files/OpenSSL-Win64/bin/libcrypto-1_1-x64.dll" ${{github.workspace}}/bin/Release/libcrypto-1_1-x64.dll

.github/workflows/vmangos.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ on:
1515
- '.github/workflows/db_check.yml'
1616
- '.github/workflows/db_dump.yml'
1717
- 'sql/**'
18-
- '.drone.yml'
1918
- 'README.md'
2019
- 'LICENSE'
2120
- '.gitignore'
@@ -29,7 +28,6 @@ on:
2928
- '.github/workflows/db_check.yml'
3029
- '.github/workflows/db_dump.yml'
3130
- 'sql/**'
32-
- '.drone.yml'
3331
- 'README.md'
3432
- 'LICENSE'
3533
- '.gitignore'
@@ -57,27 +55,17 @@ jobs:
5755
if: matrix.os == 'ubuntu-latest'
5856
run: |
5957
sudo apt-get -qq update
60-
sudo apt-get -qq install build-essential cmake libace-dev libmysql++-dev libtbb-dev libcurl4-openssl-dev openssl
58+
sudo apt-get -qq install build-essential cmake libmysql++-dev libtbb-dev libcurl4-openssl-dev openssl
6159
#windows dependencies
6260
- name: windows dependencies
6361
if: matrix.os == 'windows-2019'
64-
#Sets versions for ACE/TBB
62+
#Sets versions TBB
6563
env:
66-
ACE_VERSION: 6.5.11
67-
ACE_VERSION2: 6_5_11
6864
TBB_VERSION: 2020.3
6965

7066
run: |
71-
#directory variables
72-
export ACE_ROOT=$GITHUB_WORKSPACE/ACE_wrappers
67+
# Setup TBB
7368
export TBB_ROOT_DIR=$GITHUB_WORKSPACE/tbb
74-
#ACE package download
75-
curl -LOJ http://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-$ACE_VERSION2/ACE-$ACE_VERSION.zip
76-
unzip ACE-$ACE_VERSION.zip
77-
rm ACE-$ACE_VERSION.zip
78-
#configuration of ACE header
79-
echo "#include \"ace/config-win32.h\"" >> $ACE_ROOT/ace/config.h
80-
#TBB package download
8169
curl -LOJ https://github.com/oneapi-src/oneTBB/releases/download/v$TBB_VERSION/tbb-$TBB_VERSION-win.zip
8270
unzip tbb-$TBB_VERSION-win.zip
8371
rm tbb-$TBB_VERSION-win.zip
@@ -99,10 +87,6 @@ jobs:
9987
- name: windows build & install
10088
if: matrix.os == 'windows-2019'
10189
run: |
102-
# Build ACE
103-
export ACE_ROOT=$GITHUB_WORKSPACE/ACE_wrappers
104-
cd $GITHUB_WORKSPACE/ACE_wrappers
105-
/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe "ACE_wrappers_vs2019.sln" //p:Configuration=Release //p:Platform=x64 //t:ACE //m:2
10690
# Build CURL
10791
cd $GITHUB_WORKSPACE/dep/windows/optional_dependencies/
10892
./curl_download_and_build.bat

CMakeLists.txt

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ set(CMAKE_CXX_STANDARD 14)
2424
set(CMAKE_CXX_STANDARD_REQUIRED ON)
2525
set(CMAKE_CXX_EXTENSIONS OFF)
2626

27-
# Allow -DACE_ROOT, -DTBB_ROOT, etc.
2827
if(${CMAKE_VERSION} VERSION_GREATER "3.11")
2928
cmake_policy(SET CMP0074 NEW)
3029
endif()
@@ -87,51 +86,6 @@ set(CMAKE_INSTALL_RPATH ${LIBS_DIR})
8786
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
8887

8988
# Find needed packages and if necessery abort if something important is missing
90-
unset(ACE_INCLUDE_DIR CACHE)
91-
unset(ACE_LIBRARIES CACHE)
92-
unset(ACE_LIBRARIES_DIR CACHE)
93-
unset(ACE_INCLUDE_DIR)
94-
unset(ACE_LIBRARIES)
95-
unset(ACE_LIBRARIES_DIR)
96-
97-
find_package(ACE)
98-
if(NOT ACE_FOUND)
99-
message(FATAL_ERROR
100-
"This project requires ACE installed. Please download the ACE Micro Release Kit from http://download.dre.vanderbilt.edu/ and install it. If this script didn't find ACE and it was correctly installed please set ACE_ROOT to the correct path."
101-
)
102-
endif()
103-
104-
if(NOT USE_STD_MALLOC)
105-
unset(TBB_INCLUDE_DIRS CACHE)
106-
unset(TBB_LIBRARIES CACHE)
107-
unset(TBB_LIBRARIES_RELEASE CACHE)
108-
unset(TBB_LIBRARIES_DEBUG CACHE)
109-
110-
set(TBB_USE_DEBUG_BUILD ${TBB_DEBUG})
111-
find_package(TBB COMPONENTS tbbmalloc)
112-
if(NOT TBB_FOUND)
113-
message(FATAL_ERROR
114-
"This project requires TBB installed. Please download the TBB Stable Release from http://www.threadingbuildingblocks.org/ and install it. If this script didn't find TBB and it was correctly installed please set TBB_ROOT_DIR to the correct path."
115-
)
116-
endif()
117-
118-
if(TBB_DEBUG)
119-
set(TBB_LIBRARIES
120-
${TBB_LIBRARIES_DEBUG}
121-
)
122-
else()
123-
set(TBB_LIBRARIES
124-
${TBB_LIBRARIES}
125-
)
126-
endif()
127-
128-
if (WIN32)
129-
list (GET TBB_LIBRARIES 1 TBB_SINGLE_FILEDIRECTORY)
130-
get_filename_component(TBB_LIB_DIRECTORY "${TBB_SINGLE_FILEDIRECTORY}" DIRECTORY)
131-
link_directories(${TBB_LIB_DIRECTORY})
132-
endif()
133-
134-
endif()
13589

13690
if (ENABLE_MAILSENDER)
13791
set(REQUIRES_LIBCURL ON)
@@ -236,16 +190,6 @@ if(${CMAKE_VERSION} VERSION_LESS "3.16")
236190
endif()
237191
endif()
238192

239-
if(USE_STD_MALLOC)
240-
set(ALLOC_LIB_INFO_STRING "std::malloc")
241-
else()
242-
if(TBB_DEBUG)
243-
set(ALLOC_LIB_INFO_STRING "TBB/Debug")
244-
else()
245-
set(ALLOC_LIB_INFO_STRING "TBB/Release")
246-
endif()
247-
endif()
248-
249193
include(cmake/showoptions.cmake)
250194

251195
set(DEFINITIONS_RELEASE ${DEFINITIONS_RELEASE} NDEBUG)
@@ -321,10 +265,6 @@ else()
321265
set(DEFINITIONS ${DEFINITIONS} SYSCONFDIR="${CONF_DIR}/")
322266
endif()
323267

324-
if(USE_STD_MALLOC)
325-
set(DEFINITIONS ${DEFINITIONS} USE_STANDARD_MALLOC)
326-
endif()
327-
328268
if (ENABLE_MAILSENDER)
329269
set(DEFINITIONS ${DEFINITIONS} ENABLE_MAILSENDER)
330270
endif()

cmake/find/FindACE.cmake

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)