-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into add_env_option_serverless
- Loading branch information
Showing
27 changed files
with
159 additions
and
154 deletions.
There are no files selected for viewing
This file contains 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 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,8 @@ | ||
This build script performs a build-and-test using only | ||
the standard developer dependencies from conda, so as | ||
to provide a test that matches what happens in conda-forge. | ||
|
||
Note that the conda packages given as developer dependencies | ||
here are repeated in several different places. We should have | ||
a single location where they are clearly specified. | ||
|
This file contains 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,51 @@ | ||
#! /bin/bash | ||
|
||
set -xe | ||
|
||
# Save the dir from which the script was called | ||
ORG_DIR=$(pwd) | ||
|
||
# Find cctools src directory | ||
CCTOOLS_SRC="$(cd "$(dirname "${BASH_SOURCE[0]}")"/../.. && pwd)" | ||
|
||
# Ensure we end up in the directory we started regardless of how the script | ||
# ends. | ||
function finish { | ||
cd ${ORG_DIR} | ||
} | ||
trap finish EXIT | ||
|
||
# Fix for local environment at ND: unset PYTHONPATH to ignore existing python installs. | ||
export PYTHONPATH= | ||
|
||
# Activate the Conda shell hooks without starting a new shell. | ||
CONDA_BASE=$(conda info --base) | ||
. $CONDA_BASE/etc/profile.d/conda.sh | ||
|
||
# Install conda developer dependencies first: | ||
conda create -y -n cctools-dev -c conda-forge --strict-channel-priority python=3 gcc_linux-64 gxx_linux-64 gdb m4 perl swig make zlib libopenssl-static openssl conda-pack cloudpickle packaging | ||
conda activate cctools-dev | ||
|
||
# Leave out some items that are research prototypes. | ||
DISABLED_SYS=$(echo --without-system-{parrot,prune,umbrella,weaver}) | ||
DISABLED_LIB=$(echo --with-{readline,fuse,perl}-path\ no) | ||
|
||
# Now build and configure in the normal way. | ||
./configure --strict ${DISABLED_SYS} ${DISABLED_LIB} "$@" | ||
[[ -f config.mk ]] && make clean | ||
echo === Contents of config.mk === | ||
cat config.mk | ||
|
||
make | ||
|
||
make install | ||
|
||
if ! make test | ||
then | ||
echo === Contents of cctools.test.fail === | ||
cat cctools.test.fail | ||
exit 1 | ||
else | ||
exit 0 | ||
fi | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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 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 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 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 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 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 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 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 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
Oops, something went wrong.