Last active
May 4, 2018 05:57
-
-
Save pichuan/c0d2e6cf59a0f5ae373054410e477b59 to your computer and use it in GitHub Desktop.
Build on CentOS 6...
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
# Run the following by a CentOS either starting one locally with: | |
# docker run -v $PWD:/host -ti centos:6.9 /bin/bash | |
# or start a GCE instance: | |
# gcloud beta compute instances create "${USER}-centos-6-2" --scopes "compute-rw,storage-full,cloud-platform" --image-family "centos-6" --image-project "centos-cloud" --machine-type "custom-64-131072" --boot-disk-size "300" --boot-disk-type "pd-ssd" --zone "us-west1-b" | |
echo === Install prereqs | |
yum -y install sudo | |
sudo yum -y install wget | |
echo === Get GCC 4.8+ because CLIF needs it | |
sudo yum install -y centos-release-scl | |
sudo yum install -y devtoolset-3-toolchain | |
scl enable devtoolset-3 bash | |
# (1) Run: https://gist.github.com/pichuan/b1b29e805e681adeb819a20520db5c6a | |
# (2) Run: https://gist.github.com/pichuan/738a1c7d0c90aca17cc523e4764571fe | |
# (3) Run: https://gist.github.com/pichuan/5f8828b385087cd1e6df219b07cd825e (might need to paste manually) | |
# Then: | |
# git clone https://github.com/google/deepvariant.git; cd deepvariant | |
# and use the following scripts to replace: | |
# build-prereq.sh: https://gist.github.com/pichuan/7928d101a730c03167b6d80c9c3c58ac | |
# run-prereq.sh: https://gist.github.com/pichuan/f3df0da7db6f4e1385dca82423454ff3 | |
# After running the modified build-prereq.sh, I ran build_and_test.sh, | |
# and also stuck at the error that's reported here: https://github.com/google/deepvariant/issues/29#issuecomment-386250002 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment