1919cd proteowizard
2020
2121# undo position independent code fix introduced here: https://github.com/ProteoWizard/pwiz/pull/1980
22- sed -i ' s/ -no-pie -fno-pie//g' Jamroot.jam
23-
24-
25- toolset=" "
26- if [[ " $OSTYPE " == " darwin" * ]]; then
27- toolset=" toolset=clang"
28- fi
22+ sed -i.bak ' s/ -no-pie -fno-pie//g' Jamroot.jam
2923
3024echo " Building ProteoWizard and Boost, this may take some time.."
3125
@@ -60,14 +54,18 @@ echo "Building ProteoWizard and Boost, this may take some time.."
6054
6155status=$?
6256if [ $status -ne 0 ]; then
63- echo " ❌ Build failed. Showing log:"
57+ echo " ❌ Build failed with status $status . Showing log:"
6458 cat ../pwiz_installation.log
6559 exit $status
60+ else
61+ echo " ✅ Build succeeded."
6662fi
6763
64+ echo " Updating Proteowizard and Boost libraries and include files."
65+
6866# manually copy some libraries and headers used by maracluster but not by proteowizard
69- find build-* -x86_64 / -type f | grep -i libboost_regex-.* \. a$ | xargs -I{} cp {} ../lib
70- find build-* -x86_64 / -type f | grep -i libboost_program_options-.* \. a$ | xargs -I{} cp {} ../lib
67+ find build-* / -type f | grep -i libboost_regex-.* \. a$ | xargs -I{} cp {} ../lib
68+ find build-* / -type f | grep -i libboost_program_options-.* \. a$ | xargs -I{} cp {} ../lib
7169
7270rsync -ap --include " */" --include " *.h" --include " *.hpp" --exclude " *" libraries/zlib-1.2.3/ ../include
7371rsync -ap --include " */" --include " *.h" --include " *.hpp" --exclude " *" libraries/boost_aux/boost/ ../include/boost
@@ -90,4 +88,5 @@ wget --no-verbose --no-check-certificate https://github.com/boostorg/unordered/a
9088tar -xzf boost_unordered.tar.gz
9189rsync -ap --include " */" --include " *.hpp" --include ' *.ipp' --exclude ' *' unordered-boost-1.86.0/include/boost/ include/boost
9290
93- touch pwiz_successful.txt
91+ touch pwiz_successful.txt
92+ echo " ✅ Update libraries and include files succeeded."
0 commit comments