mirror of
https://github.com/progval/irctest.git
synced 2025-04-04 22:39:50 +00:00
inspircd: Use upstream mainloop hack when available (#200)
This commit is contained in:
@ -110,8 +110,11 @@ cd /tmp/
|
||||
git clone https://github.com/inspircd/inspircd.git
|
||||
cd inspircd
|
||||
|
||||
# optional, makes tests run considerably faster
|
||||
# Optional, makes tests run considerably faster. Pick one depending on the InspIRCd version:
|
||||
# on Insp3 <= 3.16.0 and Insp4 <= 4.0.0a21:
|
||||
patch src/inspircd.cpp < ~/irctest/patches/inspircd_mainloop.patch
|
||||
# on Insp3 >= 3.17.0 and Insp4 >= 4.0.0a22:
|
||||
export CXXFLAGS=-DINSPIRCD_UNLIMITED_MAINLOOP
|
||||
|
||||
./configure --prefix=$HOME/.local/ --development
|
||||
make -j 4
|
||||
|
Reference in New Issue
Block a user