diff --git a/.circleci/config.yml b/.circleci/config.yml index e926cc7..da9039b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -92,7 +92,7 @@ jobs: no_output_timeout: 30m command: | set -x - R -e "Sys.setenv(MAKEJ=3); remotes::install_git(c('.'), lib=c('${R_LIBS}'), upgrade='never', INSTALL_opts='--build')" + R -e "Sys.setenv(MAKEJ=3); Sys.setenv(ADDITIONAL_SITK_MODULES='-DSimpleITK_USE_ELASTIX=ON'); remotes::install_git(c('.'), lib=c('${R_LIBS}'), upgrade='never', INSTALL_opts='--build')" R -e "library(SimpleITK); Version()" - run: name: Rename package diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 58a640e..e30501d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -72,7 +72,7 @@ jobs: env: ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS: 2 run: | - R -e "Sys.setenv(MAKEJ=2); remotes::install_local('.', lib=Sys.getenv('R_LIBS_USER'), upgrade='never', INSTALL_opts='--build')" + R -e "Sys.setenv(MAKEJ=2); Sys.setenv(ADDITIONAL_SITK_MODULES='-DSimpleITK_USE_ELASTIX=ON'); remotes::install_local('.', lib=Sys.getenv('R_LIBS_USER'), upgrade='never', INSTALL_opts='--build')" R -e "library(SimpleITK); Version()" - name: Rename package artifact # The original artifact name is SimpleITK_.zip (windows), @@ -188,7 +188,7 @@ jobs: env: ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS: 2 run: | - R -e "Sys.setenv(MAKEJ=2); remotes::install_local('.', lib=Sys.getenv('R_LIBS_USER'), upgrade='never', INSTALL_opts='--build')" + R -e "Sys.setenv(MAKEJ=2); Sys.setenv(ADDITIONAL_SITK_MODULES='-DSimpleITK_USE_ELASTIX=ON'); remotes::install_local('.', lib=Sys.getenv('R_LIBS_USER'), upgrade='never', INSTALL_opts='--build')" R -e "library(SimpleITK); Version()" - name: Rename package artifact