This repository was archived by the owner on May 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Suppress some build warnings #85
Closed
Closed
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
05caf7b
print debug
TomAugspurger 8ec5122
trigger nightly build
TomAugspurger 176161e
override
TomAugspurger 9c63454
override
TomAugspurger aa6dc0c
sign-compare
TomAugspurger 8277605
added env_vars
TomAugspurger a3f9c9e
typo
TomAugspurger 219f7de
try c99
TomAugspurger 320cad2
ansi C
TomAugspurger 1cc7a7e
return type
TomAugspurger 604e2a9
linux only
TomAugspurger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
# Environment variables for build | ||
MACOSX_DEPLOYMENT_TARGET=10.9 | ||
# CFLAGS override for https://github.com/pandas-dev/pandas/issues/34114 | ||
if [ "$(uname)" == "Linux" ]; then | ||
CFLAGS="-ansi -Wno-error=maybe-uninitialized -Wno-error=sign-compare -Wno-error=return-type" | ||
fi | ||
# Macos's linker doesn't support stripping symbols | ||
if [ "$(uname)" != "Darwin" ]; then | ||
LDFLAGS="-Wl,--strip-debug" | ||
# make sure that LDFLAGS is exposed to child processes, | ||
# since current version of manybuild only export CFLAGS, CPPFLAGS and FFLAGS | ||
export LDFLAGS="$LDFLAGS" | ||
# override the default stripping flags, since we only override CFLAGS and | ||
# the current version of manybuild pass "-strip-all" to CPPFLAGS and FFLAGS | ||
STRIP_FLAGS="" | ||
fi | ||
# For verbosity: report where each command came from | ||
export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }' | ||
set -x |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is this just an attempt to reduce the binary size? Feature instead of fixing an issue?