Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade hardcoded installed versions #75

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion duckdb-latest/upg-duckdb-latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mkdir -p ./duckdb-latest/r-duckdb-latest
cd duckdb-latest
git clone https://github.com/duckdb/duckdb-r
cd duckdb-r
git checkout v0.9.0
git checkout v1.0.0
cd ..
ncores=$(nproc --all)
MAKE="make -j$ncores" R CMD INSTALL -l "./r-duckdb-latest" duckdb-r
Expand Down
2 changes: 1 addition & 1 deletion duckdb/setup-duckdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Rscript -e 'install.packages("DBI", lib="./duckdb/r-duckdb", repos = "http://clo
cd duckdb
git clone https://github.com/duckdb/duckdb-r.git
cd duckdb-r
git checkout v0.8.1-3
git checkout v1.0.0
cd ..
ncores=`python3 -c 'import multiprocessing as mp; print(mp.cpu_count())'`
MAKE="make -j$ncores" R CMD INSTALL -l "./r-duckdb" duckdb-r
Expand Down
2 changes: 1 addition & 1 deletion duckdb/upg-duckdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mkdir -p ./duckdb/r-duckdb
cd duckdb
git clone https://github.com/duckdb/duckdb-r
cd duckdb-r
git checkout v0.8.1
git checkout v1.0.0
cd ..
ncores=$(nproc --all)
MAKE="make -j$ncores" R CMD INSTALL -l "./r-duckdb" duckdb-r
Expand Down
10 changes: 5 additions & 5 deletions juliadf/setup-juliadf.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# install julia

wget https://julialang-s3.julialang.org/bin/linux/x64/1.9/julia-1.9.3-linux-x86_64.tar.gz
tar -xvf julia-1.9.3-linux-x86_64.tar.gz
sudo mv julia-1.9.3 /opt
rm julia-1.9.3-linux-x86_64.tar.gz
wget https://julialang-s3.julialang.org/bin/linux/x64/1.10/julia-1.10.4-linux-x86_64.tar.gz
tar -xvf julia-1.10.4-linux-x86_64.tar.gz
sudo mv julia-1.10.4 /opt
rm julia-1.10.4-linux-x86_64.tar.gz
# put to paths
echo 'export JULIA_HOME=/opt/julia-1.9.3' >> path.env
echo 'export JULIA_HOME=/opt/julia-1.10.4' >> path.env
echo 'export PATH=$PATH:$JULIA_HOME/bin' >> path.env
# note that cron job must have path updated as well

Expand Down
10 changes: 5 additions & 5 deletions juliads/setup-juliads.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

# install julia
wget https://julialang-s3.julialang.org/bin/linux/x64/1.9/julia-1.9.3-linux-x86_64.tar.gz
tar -xvf julia-1.9.3-linux-x86_64.tar.gz
sudo mv julia-1.9.3 /opt
rm julia-1.9.3-linux-x86_64.tar.gz
wget https://julialang-s3.julialang.org/bin/linux/x64/1.10/julia-1.10.4-linux-x86_64.tar.gz
tar -xvf julia-1.10.4-linux-x86_64.tar.gz
sudo mv julia-1.10.4 /opt
rm julia-1.10.4-linux-x86_64.tar.gz

# put to paths
echo 'export JULIA_HOME=/opt/julia-1.9.3' >> path.env
echo 'export JULIA_HOME=/opt/julia-1.10.4' >> path.env
echo 'export PATH=$PATH:$JULIA_HOME/bin' >> path.env
echo "export JULIA_NUM_THREADS=40" >> path.env
# note that cron job must have path updated as well
Expand Down
Loading