-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgetstuff.sh
More file actions
33 lines (33 loc) · 1.3 KB
/
getstuff.sh
File metadata and controls
33 lines (33 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
cd ~
echo "Making directories"
mkdir tinkering
mkdir projects
mkdir misc
# create the arkouda directory and clone the main
cd projects
echo "Getting arkouda"
git clone https://github.com/drculhane/arkouda.git
cd arkouda
git remote add upstream https://github.com/Bears-R-Us/arkouda.git
git config --global user.name drculhane
git config --global user.email drculhane@users.noreply.github.com
cp ~/useful/Makefile.paths ~/projects/arkouda
# get miniconda, but don't install it yet
echo "Getting miniconda"
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
# install chapel prerequisites. This will vary per Linux distro. These are for Ubuntu.
echo "Getting chapel prerequisites."
sudo apt-get update
sudo apt-get install gcc g++ m4 perl python3 python3-dev bash make mawk git pkg-config cmake
sudo apt-get install llvm-dev llvm clang libclang-dev libclang-cpp-dev libedit-dev
# These are for Almalinux.
# sudo dnf upgrade
# sudo dnf install gcc gcc-c++ m4 perl python3 python3-devel bash make gawk git cmake
# sudo dnf install which diffutils
# sudo dnf install llvm-devel clang clang-devel
# get the chapel source
echo "Getting chapel"
cd ~
curl -LO https://github.com/chapel-lang/chapel/releases/download/2.6.0/chapel-2.6.0.tar.gz
tar xvf chapel-2.6.0.tar.gz
echo "Got the stuff"