Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Parallel build? You mean building multiple ones at the same time?

[DiscordArchive] Parallel build? You mean building multiple ones at the same time?

[DiscordArchive] Parallel build? You mean building multiple ones at the same time?

rektbyfaith
Administrator
0
09-22-2023, 02:20 PM
#1
Archived author: Revision • Posted: 2023-09-22T14:20:09.900000+00:00
Original source

Parallel build? You mean building multiple ones at the same time?
rektbyfaith
09-22-2023, 02:20 PM #1

Archived author: Revision • Posted: 2023-09-22T14:20:09.900000+00:00
Original source

Parallel build? You mean building multiple ones at the same time?

rektbyfaith
Administrator
0
09-22-2023, 02:23 PM
#2
Archived author: D1scipline • Posted: 2023-09-22T14:23:33.899000+00:00
Original source

Does it support parallel build? e.g. make -j32 to build the project.
rektbyfaith
09-22-2023, 02:23 PM #2

Archived author: D1scipline • Posted: 2023-09-22T14:23:33.899000+00:00
Original source

Does it support parallel build? e.g. make -j32 to build the project.

rektbyfaith
Administrator
0
09-22-2023, 02:24 PM
#3
Archived author: Revision • Posted: 2023-09-22T14:24:21.663000+00:00
Original source

That's just building the core. Even if you use `make -j $(nproc)` (which uses ALL available cores ofc) it won't break the build.
rektbyfaith
09-22-2023, 02:24 PM #3

Archived author: Revision • Posted: 2023-09-22T14:24:21.663000+00:00
Original source

That's just building the core. Even if you use `make -j $(nproc)` (which uses ALL available cores ofc) it won't break the build.

rektbyfaith
Administrator
0
09-22-2023, 02:24 PM
#4
Archived author: D1scipline • Posted: 2023-09-22T14:24:38.310000+00:00
Original source

➜ build gitSadmaster) grep "Management/DetourExtended.h" . -rn
./src/common/CMakeFiles/common.dir/CXX.includecache:1199:/mnt/e/wow/azerothcore-wotlk/src/common/Collision/Management/DetourExtended.h
./src/common/CMakeFiles/common.dir/CXX.includecache:1225:/mnt/e/wow/azerothcore-wotlk/src/common/Collision/Management/DetourExtended.h

These cmake caches generation are incorrect
rektbyfaith
09-22-2023, 02:24 PM #4

Archived author: D1scipline • Posted: 2023-09-22T14:24:38.310000+00:00
Original source

➜ build gitSadmaster) grep "Management/DetourExtended.h" . -rn
./src/common/CMakeFiles/common.dir/CXX.includecache:1199:/mnt/e/wow/azerothcore-wotlk/src/common/Collision/Management/DetourExtended.h
./src/common/CMakeFiles/common.dir/CXX.includecache:1225:/mnt/e/wow/azerothcore-wotlk/src/common/Collision/Management/DetourExtended.h

These cmake caches generation are incorrect

rektbyfaith
Administrator
0
09-22-2023, 02:26 PM
#5
Archived author: D1scipline • Posted: 2023-09-22T14:26:22.203000+00:00
Original source

I use strace -p $pid to see what are those slept processes doing:

access("../src/common/Collision/Management/DetourExtended.h", R_OK) = -1 ENOENT (No such file or directory)
access("../src/server/game/Movement/Spline/MoveSplineFlag.h", R_OK) = 0
stat("../src/server/game/Movement/Spline/MoveSplineFlag.h", {st_mode=S_IFREG|0777, st_size=6910, ...}) = 0
access("../deps/g3dlite/include/G3D/G3D/GMutex.h", R_OK) = -1 ENOENT (No such file or directory)
access("../deps/g3dlite/include/G3D/G3D/Vector2int16.h", R_OK) = -1 ENOENT (No such file or directory)
access("../deps/g3dlite/include/G3D/G3D/Vector2unorm16.h", R_OK) = -1 ENOENT (No such file or directory)
access("../deps/g3dlite/include/G3D/G3D/System.h", R_OK) = -1 ENOENT (No such file or directory)
rektbyfaith
09-22-2023, 02:26 PM #5

Archived author: D1scipline • Posted: 2023-09-22T14:26:22.203000+00:00
Original source

I use strace -p $pid to see what are those slept processes doing:

access("../src/common/Collision/Management/DetourExtended.h", R_OK) = -1 ENOENT (No such file or directory)
access("../src/server/game/Movement/Spline/MoveSplineFlag.h", R_OK) = 0
stat("../src/server/game/Movement/Spline/MoveSplineFlag.h", {st_mode=S_IFREG|0777, st_size=6910, ...}) = 0
access("../deps/g3dlite/include/G3D/G3D/GMutex.h", R_OK) = -1 ENOENT (No such file or directory)
access("../deps/g3dlite/include/G3D/G3D/Vector2int16.h", R_OK) = -1 ENOENT (No such file or directory)
access("../deps/g3dlite/include/G3D/G3D/Vector2unorm16.h", R_OK) = -1 ENOENT (No such file or directory)
access("../deps/g3dlite/include/G3D/G3D/System.h", R_OK) = -1 ENOENT (No such file or directory)

rektbyfaith
Administrator
0
09-22-2023, 02:27 PM
#6
Archived author: Revision • Posted: 2023-09-22T14:27:56.108000+00:00
Original source

I don't know, it should be something wrong with your setup. I don't really know how to phrase that properly but I have never had issues with any of my setups but I only use what is "normal" (bare metal, VMs or CTs) setups and no matter the OS I haven't run into any trouble.
rektbyfaith
09-22-2023, 02:27 PM #6

Archived author: Revision • Posted: 2023-09-22T14:27:56.108000+00:00
Original source

I don't know, it should be something wrong with your setup. I don't really know how to phrase that properly but I have never had issues with any of my setups but I only use what is "normal" (bare metal, VMs or CTs) setups and no matter the OS I haven't run into any trouble.

rektbyfaith
Administrator
0
09-22-2023, 02:30 PM
#7
Archived author: D1scipline • Posted: 2023-09-22T14:30:35.260000+00:00
Original source

Okay, I'll try to figure out the root cause, I was using WSL(debian11), and there might be some issues with it. I can always reproduce the case.
rektbyfaith
09-22-2023, 02:30 PM #7

Archived author: D1scipline • Posted: 2023-09-22T14:30:35.260000+00:00
Original source

Okay, I'll try to figure out the root cause, I was using WSL(debian11), and there might be some issues with it. I can always reproduce the case.

rektbyfaith
Administrator
0
09-22-2023, 02:32 PM
#8
Archived author: Revision • Posted: 2023-09-22T14:32:07.142000+00:00
Original source

I haven't had issues with debian 11/12 or ubuntu 20.04+. Of course it's a good idea to stick to a version that provides openssl 3.0+ to future proof your setup.
rektbyfaith
09-22-2023, 02:32 PM #8

Archived author: Revision • Posted: 2023-09-22T14:32:07.142000+00:00
Original source

I haven't had issues with debian 11/12 or ubuntu 20.04+. Of course it's a good idea to stick to a version that provides openssl 3.0+ to future proof your setup.

rektbyfaith
Administrator
0
09-22-2023, 03:25 PM
#9
Archived author: D1scipline • Posted: 2023-09-22T15:25:56.831000+00:00
Original source

I think it might be a bug of cmake, I tried to use ninja or the latest version of cmake, it all worked. But if i use cmake (3.18.4), it's always stucked at 20% with two slept processes hanging there.
rektbyfaith
09-22-2023, 03:25 PM #9

Archived author: D1scipline • Posted: 2023-09-22T15:25:56.831000+00:00
Original source

I think it might be a bug of cmake, I tried to use ninja or the latest version of cmake, it all worked. But if i use cmake (3.18.4), it's always stucked at 20% with two slept processes hanging there.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)