-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update libmaus2 to v2.0.183 #52154
Update libmaus2 to v2.0.183 #52154
Changes from 7 commits
2fbd5e0
7187fb0
d8f3d46
98c789a
8edf93d
1deb425
1d0b928
8c2052c
7f9c3c4
219165f
dca0f25
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,10 +1,18 @@ | ||||||||||||||||||||||||
#!/bin/bash | ||||||||||||||||||||||||
set -eu | ||||||||||||||||||||||||
export LIBS="-lstdc++fs -lcurl" | ||||||||||||||||||||||||
export LIBS="-lstdc++ -lcurl -lz -ldeflate" | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
./configure --prefix $PREFIX --with-snappy --with-io_lib | ||||||||||||||||||||||||
autoreconf -if | ||||||||||||||||||||||||
autoupdate | ||||||||||||||||||||||||
./configure --prefix="${PREFIX}" CXX="${CXX}" CC="${CC}" \ | ||||||||||||||||||||||||
CXXFLAGS="${CXXFLAGS} -O3 -D_LIBCPP_DISABLE_AVAILABILITY" | ||||||||||||||||||||||||
LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" \ | ||||||||||||||||||||||||
CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include" \ | ||||||||||||||||||||||||
--with-snappy --with-io_lib --with-libdeflate \ | ||||||||||||||||||||||||
--with-libsecrecy --with-nettle \ | ||||||||||||||||||||||||
--with-lzma --with-gmp | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
cat config.log | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
make -j${CPU_COUNT} | ||||||||||||||||||||||||
make -j"${CPU_COUNT}" | ||||||||||||||||||||||||
make install | ||||||||||||||||||||||||
Comment on lines
+13
to
14
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Add error handling for make commands Consider adding error handling and logging for make commands: -make -j"${CPU_COUNT}"
-make install
+if ! make -j"${CPU_COUNT}"; then
+ echo "Build failed. Last 50 lines of config.log:"
+ tail -n 50 config.log
+ exit 1
+fi
+if ! make install; then
+ echo "Installation failed"
+ exit 1
+fi 📝 Committable suggestion
Suggested change
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Add error handling for autotools commands
The
autoreconf
andautoupdate
commands might fail silently. Consider adding error checking:📝 Committable suggestion