From 7ffb98e896932f501a6b072a777030c9c6736065 Mon Sep 17 00:00:00 2001 From: Motoo Chhotoo Chintoo <72434298+motoo-tobbler@users.noreply.github.com> Date: Fri, 8 Dec 2023 23:31:43 +0530 Subject: [PATCH] Accommodated mac-intel-essential.sh for directory tree changes. (#562) Since the libraries for MacOS are now distinguishable between mac_arm and mac_intel, a minor change has been made to the script to place the compiled libjuice library to the appropriate folder, i.e. `mac_intel`. --- tools/mac-intel-essential.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/mac-intel-essential.sh b/tools/mac-intel-essential.sh index 0965bc67..ce261b5e 100644 --- a/tools/mac-intel-essential.sh +++ b/tools/mac-intel-essential.sh @@ -1,8 +1,8 @@ #!/bin/bash +dl_ver=1.2.2 #Download echo Downloading: libjuice -dl_ver=1.2.2 curl -L https://github.com/paullouisageneau/libjuice/archive/refs/tags/v"$dl_ver".tar.gz -o libjuice.tar.gz tar -xf libjuice.tar.gz @@ -13,9 +13,9 @@ cd libjuice-"$dl_ver" cmake -B build && cd build make -j2 -#Copy to lib/coopnet/mac/libjuice.dylib +#Copy to ../../lib/coopnet/mac_intel/libjuice.1.2.2.dylib echo " -Copying: libjuice to 'lib/coopnet/mac'" -cp libjuice."$dl_ver".dylib ../../lib/coopnet/mac/libjuice."$dl_ver".dylib +Copying: libjuice to 'lib/coopnet/mac_intel/'" +cp libjuice."$dl_ver".dylib ../../lib/coopnet/mac_intel/libjuice."$dl_ver".dylib echo Done