加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
configure.win 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
gagolews 提交于 2021-05-03 20:00 . configure upd
# `stringi` configure.win
# Copyright (c) 2013-2021, Marek Gagolewski <https://www.gagolewski.com>
# this is an architecture-independent configure.win file
"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e '
fin <- "src/uconfig_local.h.in";
fout <- "src/uconfig_local.h";
f <- readLines(fin);
f <- gsub("@ICU_FOUND@", 0, f, fixed = TRUE);
f <- gsub("@ICUDT_DIR@", "icu69/data", f, fixed = TRUE);
f <- gsub("@ICU_BUNDLE_VERSION@", "69", f, fixed = TRUE);
f <- gsub("@ICUDT_ENDIANNESS@", .Platform$endian, f, fixed = TRUE);
con <- file(fout, "wb") # LF line ending
writeLines(f, con);
close(con)
' `
"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e '
fin <- "src/install.libs.R.in";
fout <- "src/install.libs.R";
f <- readLines(fin);
f <- gsub("@ICU_FOUND@", 0, f, fixed = TRUE);
f <- gsub("@ICUDT_DIR@", "icu69/data", f, fixed = TRUE);
f <- gsub("@ICU_BUNDLE_VERSION@", "69", f, fixed = TRUE);
f <- gsub("@ICUDT_ENDIANNESS@", .Platform$endian, f, fixed = TRUE);
con <- file(fout, "wb") # LF line ending
writeLines(f, con);
close(con)
' `
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化