Skip to content

Commit

Permalink
Fix r-stringi (#1834)
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabelParedes authored Jan 31, 2025
1 parent db877ff commit c92f430
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions recipes/recipes_emscripten/r-stringi/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# build and host are needed to enable cross-compilation
# The environment LDFLAGS are ignored by the configure script
export CONFIG_ARGS="--prefix=$PREFIX --build=x86_64-conda-linux-gnu --host=wasm32-unknown-emscripten --with-extra-ldflags=-sWASM_BIGINT"

R CMD INSTALL $R_ARGS --configure-args="$CONFIG_ARGS" --no-byte-compile .
3 changes: 1 addition & 2 deletions recipes/recipes_emscripten/r-stringi/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ source:
sha256: c219f8f64d1a2bfd4ca9528452d44d30db1899af14f4b9ef248412443bc669f3

build:
number: 0
script: $R CMD INSTALL $R_ARGS --no-byte-compile .
number: 1

outputs:
- package:
Expand Down

0 comments on commit c92f430

Please sign in to comment.