[DiscordArchive] One last question, when do we run the cmake command. This last time I was able to run git pull, mak
[DiscordArchive] One last question, when do we run the cmake command. This last time I was able to run git pull, mak
Archived author: PerryCS • Posted: 2023-07-12T21:27:26.009000+00:00
Original source
One last question, when do we run the cmake command. This last time I was able to run git pull, make -j 16, make install.. I assume that's "compiling"... but I remember on one of the previous patches I also had to run cmake... I guess only if make -j 16 fails then run cmake?
Archived author: PerryCS • Posted: 2023-07-12T21:30:04.396000+00:00
Original source
(and happy to say, my current compile is at the moment before the squish). the make -j 16, and make install all worked. 2023-04-23 or something did take a while but no errors. So, only my question of when to run cmake perisists. Appreciate the tips!! I screen shot my commands this time for the future.
Archived author: nea • Posted: 2023-07-12T21:33:09.411000+00:00
Original source
cmake generates the makefile, so you only need to run the cmake command again if there are changes to the cmake build script. i also know that ninja automatically rebuilds cmake projects if it detects that needs to be done, not sure if normal make does the same.
Archived author: PerryCS • Posted: 2023-07-12T21:33:58.328000+00:00
Original source
Ah, that's what that is! OK, thank you!!! So far, on the last recompile for git pull orgin master and no errors.
Archived author: nea • Posted: 2023-07-12T21:34:27.680000+00:00
Original source
also about this: maybe the wiki could suggest using a treeless clone instead of a historyless clone? `git clone https://github.com/azerothcore/azerothcore-wotlk/ --depth 0` vs `git clone https://github.com/azerothcore/azerothcore-wotlk/ --filter tree:0`
Archived author: nea • Posted: 2023-07-12T21:35:14.680000+00:00
Original source
typically gives similar reductions in repo size but allows for easier checking out of old versions and similar if that is needed for development down the line
Archived author: PerryCS • Posted: 2023-07-12T21:35:24.366000+00:00
Original source
Ah, just got an error... I'll prob have to run cmake then... that's what I had to last time make -j 16 failed...
[ 47%] Linking CXX static library libgame.a
[ 47%] Built target game
make: *** [Makefile:130: all] Error 2
Archived author: PerryCS • Posted: 2023-07-12T21:35:53.503000+00:00
Original source
ok, thank you!!!
Archived author: nea • Posted: 2023-07-12T21:36:37.733000+00:00
Original source
i mean it does not matter for you anymore, since you already cloned the repo. if you still have problems with a shallow clone you can use `git fetch --unshallow` to pull in the entire history and everything
Archived author: PerryCS • Posted: 2023-07-12T21:36:56.175000+00:00
Original source
ok, thank you!! much appreciated