Build minidump_stackwalk separately.
On macOS gyp is no longer required for non-official builds.
This commit is contained in:
parent
6587f89db1
commit
5276e5b4ae
|
@ -39,6 +39,7 @@ processedArgs = []
|
||||||
skipReleaseBuilds = False
|
skipReleaseBuilds = False
|
||||||
buildQt5 = True
|
buildQt5 = True
|
||||||
buildQt6 = False
|
buildQt6 = False
|
||||||
|
buildMinidumpStackwalk = False
|
||||||
for arg in sys.argv[1:]:
|
for arg in sys.argv[1:]:
|
||||||
if arg == 'skip-release':
|
if arg == 'skip-release':
|
||||||
processedArgs.append(arg)
|
processedArgs.append(arg)
|
||||||
|
@ -49,6 +50,9 @@ for arg in sys.argv[1:]:
|
||||||
elif arg == 'skip-qt5':
|
elif arg == 'skip-qt5':
|
||||||
processedArgs.append(arg)
|
processedArgs.append(arg)
|
||||||
buildQt5 = False
|
buildQt5 = False
|
||||||
|
elif arg == 'minidump_stackwalk':
|
||||||
|
processedArgs.append(arg)
|
||||||
|
buildMinidumpStackwalk = True
|
||||||
|
|
||||||
if not os.path.isdir(libsDir + '/' + keysLoc):
|
if not os.path.isdir(libsDir + '/' + keysLoc):
|
||||||
pathlib.Path(libsDir + '/' + keysLoc).mkdir(parents=True, exist_ok=True)
|
pathlib.Path(libsDir + '/' + keysLoc).mkdir(parents=True, exist_ok=True)
|
||||||
|
@ -387,7 +391,7 @@ def runStages():
|
||||||
stage('patches', """
|
stage('patches', """
|
||||||
git clone https://github.com/desktop-app/patches.git
|
git clone https://github.com/desktop-app/patches.git
|
||||||
cd patches
|
cd patches
|
||||||
git checkout 52a8799806
|
git checkout 5485c56e93
|
||||||
""")
|
""")
|
||||||
|
|
||||||
stage('depot_tools', """
|
stage('depot_tools', """
|
||||||
|
@ -395,7 +399,8 @@ mac:
|
||||||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
||||||
""", 'ThirdParty')
|
""", 'ThirdParty')
|
||||||
|
|
||||||
stage('gyp', """
|
if not mac or buildMinidumpStackwalk:
|
||||||
|
stage('gyp', """
|
||||||
win:
|
win:
|
||||||
git clone https://chromium.googlesource.com/external/gyp
|
git clone https://chromium.googlesource.com/external/gyp
|
||||||
cd gyp
|
cd gyp
|
||||||
|
@ -556,11 +561,6 @@ mac:
|
||||||
cmake --install build
|
cmake --install build
|
||||||
""")
|
""")
|
||||||
|
|
||||||
# ./autogen.sh
|
|
||||||
# CFLAGS="$MIN_VER $UNGUARDED" CPPFLAGS="$MIN_VER $UNGUARDED" LDFLAGS="$MIN_VER" ./configure --prefix=$USED_PREFIX
|
|
||||||
# make $MAKE_THREADS_CNT
|
|
||||||
# make install
|
|
||||||
|
|
||||||
stage('rnnoise', """
|
stage('rnnoise', """
|
||||||
git clone https://github.com/desktop-app/rnnoise.git
|
git clone https://github.com/desktop-app/rnnoise.git
|
||||||
cd rnnoise
|
cd rnnoise
|
||||||
|
@ -878,6 +878,24 @@ mac:
|
||||||
make install
|
make install
|
||||||
""")
|
""")
|
||||||
|
|
||||||
|
if buildMinidumpStackwalk:
|
||||||
|
stage('stackwalk', """
|
||||||
|
mac:
|
||||||
|
git clone https://chromium.googlesource.com/breakpad/breakpad stackwalk
|
||||||
|
cd stackwalk
|
||||||
|
git checkout dfcb7b6799
|
||||||
|
depends:patches/breakpad.diff
|
||||||
|
git apply ../patches/breakpad.diff
|
||||||
|
git clone -b release-1.11.0 https://github.com/google/googletest src/testing
|
||||||
|
git clone https://chromium.googlesource.com/linux-syscall-support src/third_party/lss
|
||||||
|
cd src/third_party/lss
|
||||||
|
git checkout e1e7b0ad8e
|
||||||
|
cd ../../build
|
||||||
|
python3 gyp_breakpad
|
||||||
|
cd ../processor
|
||||||
|
xcodebuild -project processor.xcodeproj -target minidump_stackwalk -configuration Release build
|
||||||
|
""")
|
||||||
|
|
||||||
stage('breakpad', """
|
stage('breakpad', """
|
||||||
git clone https://chromium.googlesource.com/breakpad/breakpad
|
git clone https://chromium.googlesource.com/breakpad/breakpad
|
||||||
cd breakpad
|
cd breakpad
|
||||||
|
@ -912,10 +930,6 @@ release:
|
||||||
xcodebuild -project Breakpad.xcodeproj -target Breakpad -configuration Release build
|
xcodebuild -project Breakpad.xcodeproj -target Breakpad -configuration Release build
|
||||||
cd ../../tools/mac/dump_syms
|
cd ../../tools/mac/dump_syms
|
||||||
xcodebuild -project dump_syms.xcodeproj -target dump_syms -configuration Release build
|
xcodebuild -project dump_syms.xcodeproj -target dump_syms -configuration Release build
|
||||||
cd ../../../build
|
|
||||||
python3 gyp_breakpad
|
|
||||||
cd ../processor
|
|
||||||
xcodebuild -project processor.xcodeproj -target minidump_stackwalk -configuration Release build
|
|
||||||
""")
|
""")
|
||||||
|
|
||||||
stage('crashpad', """
|
stage('crashpad', """
|
||||||
|
|
Loading…
Reference in New Issue