From 4d8fb450d790fd08d3a1860a8a8bcd4690b333b8 Mon Sep 17 00:00:00 2001 From: ranjanan Date: Fri, 15 Jul 2016 12:39:47 +0530 Subject: [PATCH 1/4] Add requisite libraries for ArrayFire --- scripts/setup.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/setup.sh b/scripts/setup.sh index 4a8b037..201cac1 100644 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -89,6 +89,13 @@ export PYTHON="" sudo apt-get install wamerican # Need xmllint (and others?) for XMLDict.jl sudo apt-get install libxml2-utils +# ArrayFire +# ArrayFire +sudo apt-get install libfreeimage-dev libatlas3gf-base libfftw3-dev cmake +wget http://ci.arrayfire.org/userContent/Linux/ArrayFire-no-gl-v3.3.2_Linux_x86_64.sh +sudo chmod +x ArrayFire-no-gl-v3.3.2_Linux_x86_64.sh +sudo ./ArrayFire-no-gl-v3.3.2_Linux_x86_64.sh --exclude-subdir --prefix=/usr/local +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/ ####################################################################### From 732f68df3ae10bbc52f8dbc08da0fd60d6d3c6ae Mon Sep 17 00:00:00 2001 From: ranjanan Date: Fri, 15 Jul 2016 14:03:04 +0530 Subject: [PATCH 2/4] Remove duplicate comment --- scripts/setup.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/setup.sh b/scripts/setup.sh index 201cac1..cfb3e0c 100644 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -90,7 +90,6 @@ sudo apt-get install wamerican # Need xmllint (and others?) for XMLDict.jl sudo apt-get install libxml2-utils # ArrayFire -# ArrayFire sudo apt-get install libfreeimage-dev libatlas3gf-base libfftw3-dev cmake wget http://ci.arrayfire.org/userContent/Linux/ArrayFire-no-gl-v3.3.2_Linux_x86_64.sh sudo chmod +x ArrayFire-no-gl-v3.3.2_Linux_x86_64.sh From 78b7f89de07133708f07dff15bac4e0d1e27b6f9 Mon Sep 17 00:00:00 2001 From: ranjanan Date: Tue, 19 Jul 2016 10:36:43 +0530 Subject: [PATCH 3/4] Remove unnecessary library installations --- scripts/setup.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/setup.sh b/scripts/setup.sh index cfb3e0c..d60b403 100644 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -90,7 +90,6 @@ sudo apt-get install wamerican # Need xmllint (and others?) for XMLDict.jl sudo apt-get install libxml2-utils # ArrayFire -sudo apt-get install libfreeimage-dev libatlas3gf-base libfftw3-dev cmake wget http://ci.arrayfire.org/userContent/Linux/ArrayFire-no-gl-v3.3.2_Linux_x86_64.sh sudo chmod +x ArrayFire-no-gl-v3.3.2_Linux_x86_64.sh sudo ./ArrayFire-no-gl-v3.3.2_Linux_x86_64.sh --exclude-subdir --prefix=/usr/local From d0513eef99075c59e1b38a3c38ba71ce356b343f Mon Sep 17 00:00:00 2001 From: ranjanan Date: Tue, 19 Jul 2016 11:41:08 +0530 Subject: [PATCH 4/4] Remove install script after install --- scripts/setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/setup.sh b/scripts/setup.sh index d60b403..7c0da0f 100644 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -94,6 +94,7 @@ wget http://ci.arrayfire.org/userContent/Linux/ArrayFire-no-gl-v3.3.2_Linux_x86_ sudo chmod +x ArrayFire-no-gl-v3.3.2_Linux_x86_64.sh sudo ./ArrayFire-no-gl-v3.3.2_Linux_x86_64.sh --exclude-subdir --prefix=/usr/local export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/ +rm ArrayFire-no-gl-v3.3.2_Linux_x86_64.sh #######################################################################