From yugong @end|ng |rom out|ook@com  Sun Aug 13 05:26:30 2023
From: yugong @end|ng |rom out|ook@com (yu gong)
Date: Sun, 13 Aug 2023 03:26:30 +0000
Subject: [Rd] a quick and dirty way to compile R on win arm64 using
 clangarm64
In-Reply-To: <TYAP286MB0268284F530FE6EAC42EC1A4D116A@TYAP286MB0268.JPNP286.PROD.OUTLOOK.COM>
References: <TYAP286MB0268284F530FE6EAC42EC1A4D116A@TYAP286MB0268.JPNP286.PROD.OUTLOOK.COM>
Message-ID: <TYAP286MB026875483CA0C60D46FA92E4D116A@TYAP286MB0268.JPNP286.PROD.OUTLOOK.COM>

sorry forgot dynamic link  ICU
1 svn checkout R-trunk and add USE_LLVM=YES and ICU_LIBS ?= -licuin -licuuc -licudt -lstdc++  in MKRules.dist or  Mkrules.local
________________________________
From: R-devel <r-devel-bounces at r-project.org> on behalf of yu gong <yugong at outlook.com>
Sent: Sunday, August 13, 2023 11:14
To: r-devel at r-project.org <r-devel at r-project.org>
Subject: [Rd] a quick and dirty way to compile R on win arm64 using clangarm64

hello everyone:
  On this boring weekend, I tried compile R-trunk on windows 11 arm64 using clangarm64+msys2 on macbook m1 ,  it surprisingly easy to compiled and run.
more investigation and test and code modify need to be done ,but IMO this is a good beginning !!

to compile R on windows 11 arm64 just need :
1 svn checkout R-trunk and add USE_LLVM=YES in MKRules.dist or  Mkrules.local
2 install msys2 and clangarm64 package
 mingw-w64-clang-aarch64-brotli 1.0.9-6
 mingw-w64-clang-aarch64-bzip2 1.0.8-2
 mingw-w64-clang-aarch64-c-ares 1.19.1-1
 mingw-w64-clang-aarch64-ca-certificates 20230311-1
mingw-w64-clang-aarch64-clang 16.0.5-3
mingw-w64-clang-aarch64-compiler-rt 16.0.5-3
mingw-w64-clang-aarch64-crt-git 11.0.0.r107.gd367cc9d7-1
mingw-w64-clang-aarch64-curl 8.2.1-1
mingw-w64-clang-aarch64-expat 2.5.0-1
mingw-w64-clang-aarch64-flang 16.0.5-1
mingw-w64-clang-aarch64-gettext 0.21.1-2
mingw-w64-clang-aarch64-giflib 5.2.1-3
mingw-w64-clang-aarch64-gmp 6.3.0-1
mingw-w64-clang-aarch64-gnutls 3.8.0-1
mingw-w64-clang-aarch64-headers-git 11.0.0.r107.gd367cc9d7-1
mingw-w64-clang-aarch64-icu 73.2-1
mingw-w64-clang-aarch64-jbigkit 2.1-4
mingw-w64-clang-aarch64-lerc 4.0.0-1
mingw-w64-clang-aarch64-libc++ 16.0.5-1
mingw-w64-clang-aarch64-libdeflate 1.18-1
mingw-w64-clang-aarch64-libffi 3.4.4-1
mingw-w64-clang-aarch64-libgcrypt 1.10.2-1
mingw-w64-clang-aarch64-libgpg-error 1.47-2
mingw-w64-clang-aarch64-libiconv 1.17-3
mingw-w64-clang-aarch64-libidn2 2.3.4-1
mingw-w64-clang-aarch64-libjpeg-turbo 3.0.0-1
mingw-w64-clang-aarch64-libpng 1.6.40-1
mingw-w64-clang-aarch64-libpsl 0.21.2-4
mingw-w64-clang-aarch64-libssh2 1.11.0-1
mingw-w64-clang-aarch64-libtasn1 4.19.0-1
mingw-w64-clang-aarch64-libtiff 4.5.1-2
mingw-w64-clang-aarch64-libunistring 1.1-1
mingw-w64-clang-aarch64-libunwind 16.0.5-1
mingw-w64-clang-aarch64-libwebp 1.3.1-1
mingw-w64-clang-aarch64-libwinpthread-git 11.0.0.r107.gd367cc9d7-1
mingw-w64-clang-aarch64-libxml2 2.11.4-2
mingw-w64-clang-aarch64-lld 16.0.5-3
mingw-w64-clang-aarch64-llvm 16.0.5-3
mingw-w64-clang-aarch64-llvm-libs 16.0.5-3
mingw-w64-clang-aarch64-make 4.4-2
mingw-w64-clang-aarch64-mlir 16.0.5-1
mingw-w64-clang-aarch64-nettle 3.9.1-1
mingw-w64-clang-aarch64-nghttp2 1.55.1-1
mingw-w64-clang-aarch64-openblas 0.3.23-1
mingw-w64-clang-aarch64-openmp 16.0.5-1
mingw-w64-clang-aarch64-openssl 3.1.2-1
mingw-w64-clang-aarch64-p11-kit 0.25.0-1
mingw-w64-clang-aarch64-pcre2 10.42-1
mingw-w64-clang-aarch64-readline 8.2.001-6
mingw-w64-clang-aarch64-rtmpdump 2.4.r99.f1b83c1-1
mingw-w64-clang-aarch64-tcl 8.6.12-2
mingw-w64-clang-aarch64-termcap 1.3.1-6
mingw-w64-clang-aarch64-tk 8.6.12-2
mingw-w64-clang-aarch64-wineditline 2.206-1
mingw-w64-clang-aarch64-winpthreads-git 11.0.0.r107.gd367cc9d7-1
mingw-w64-clang-aarch64-xz 5.4.4-1
mingw-w64-clang-aarch64-zlib 1.2.13-3
mingw-w64-clang-aarch64-zstd 1.5.5-1

3 cd r/src/gnuwin32
  make

In next week,  will try more mod for win11 arm64

Yu Gong


        [[alternative HTML version deleted]]

______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

	[[alternative HTML version deleted]]



[Rd] a quick and dirty way to compile R on win arm64 using clangarm64
yu gong