diff --git a/azure/posix.yml b/azure/posix.yml index d9c3dc8..e7d5828 100644 --- a/azure/posix.yml +++ b/azure/posix.yml @@ -9,12 +9,12 @@ jobs: vmImage: ${{ parameters.vmImage }} variables: REPO_DIR: "pandas" - BUILD_COMMIT: "v1.0.3" + BUILD_COMMIT: "master" PLAT: "x86_64" NP_BUILD_DEP: "numpy==1.13.3" CYTHON_BUILD_DEP: "cython==0.29.16" NIGHTLY_BUILD_COMMIT: "master" - NIGHTLY_BUILD: "false" + NIGHTLY_BUILD: "true" TEST_DEPENDS: "pytest pytest-xdist hypothesis" TEST_DIR: "tmp_for_test" strategy: diff --git a/env_vars.sh b/env_vars.sh new file mode 100644 index 0000000..7f56717 --- /dev/null +++ b/env_vars.sh @@ -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