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
#!/usr/bin/env bash | |
set -eu | |
## untar_url <archive_url> <dest_dir> [<nb_components_to_strip>] | |
## | |
## Downloads an archive from <archive_url> and decompresses it in <dest_dir> | |
## | |
## @param archive_url archive url | |
## @param dest_dir directory in which to decompress the archive (created if not existing) | |
## @param nb_components_to_strip number of components to strip from file names on extraction. Default=1 |
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
#!/bin/bash | |
# set -eux | |
# This a simple script that builds static versions of Python and LibPython using musl-libc | |
# Find the associated article at: http://general-purpose.io/2015/12/06/compiling-python-and-libpython-statically-using-musl-libc/ | |
WORKING_DIR="/code/static-python" | |
MUSL_PREFIX="/code/static-python/musl" | |
PY_PREFIX="/code/static-python/python" |
NewerOlder