Open joshuafayallen opened 1 year ago
Thank you so much, Josh! I'll incorporate in the Readme in the next update.
On Wed, Aug 30, 2023 at 10:15 AM Josh Allen @.***> wrote:
Hi Yiqing I was trying to trouble shoot some installation issues I ran into. I followed the installation instructions that you provided and noticed that they only work for Intel based Macs. I managed to solve the issue using the data.table installation wiki https://github.com/Rdatatable/data.table/wiki/Installation suggestions for gcc.
I thought it would be useful to have an issue open for people trying to install tjbal on ARM machines. I have included the thing you need to copy and paste into your Makevars file below for convenience.
Newly installed Homebrew is located in# - /opt/homebrew for ARM Macs (M1 and its successors)# - /usr/local for Intel Macs
HOMEBREW_LOC=/opt/homebrew# If you downloaded llvm manually above, replace with your chosen NEW_PATH/clang LLVM_LOC=$(HOMEBREW_LOC)/opt/llvm CC=$(LLVM_LOC)/bin/clang -fopenmp CXX=$(LLVM_LOC)/bin/clang++ -fopenmp# -O3 should be faster than -O2 (default) level optimisation .. CFLAGS=-g -O3 -Wall -pedantic -std=gnu99 -mtune=native -pipe CXXFLAGS=-g -O3 -Wall -pedantic -std=c++11 -mtune=native -pipe LDFLAGS=-L$(HOMEBREW_LOC)/opt/gettext/lib -L$(LLVM_LOC)/lib -Wl,-rpath,$(LLVM_LOC)/lib CPPFLAGS=-I$(HOMEBREW_LOC)/opt/gettext/include -I$(LLVM_LOC)/include
— Reply to this email directly, view it on GitHub https://github.com/xuyiqing/tjbal/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2PKGAUSWNO6LOGJP7NFFTXX5YMDANCNFSM6AAAAAA4E24UFU . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Yiqing Xu
Assistant Professor Department of Political Science Stanford University https://yiqingxu.org/
just an fyi, you should only have to do this if you didn't install xcode +llvm through xcode
Hi Yiqing I was trying to trouble shoot some installation issues I ran into. I followed the installation instructions that you provided and noticed that they only work for Intel based Macs. I managed to solve the issue using the
data.table
installation wiki suggestions for gcc.I thought it would be useful to have an issue open for people trying to install
tjbal
on ARM machines. I have included the thing you need to copy and paste into your Makevars file below for convenience.