Skip to content

Commit

Permalink
build: always NOT_CRAN=true (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi authored Aug 1, 2023
1 parent c24eb71 commit d91b6a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Makevars
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $(SHLIB): $(STATLIB)
CARGOTMP = $(CURDIR)/.cargo

$(STATLIB):
if [ "$(NOT_CRAN)" != "true" ]; then \
if [ "true" != "true" ]; then \
export CARGO_HOME=$(CARGOTMP); \
fi && \
export PATH="$(PATH):$(HOME)/.cargo/bin" && \
Expand All @@ -24,7 +24,7 @@ $(STATLIB):
else \
$(BUILD_COMMAND); \
fi
if [ "$(NOT_CRAN)" != "true" ]; then \
if [ "true" != "true" ]; then \
rm -Rf $(CARGOTMP) && \
rm -Rf $(LIBDIR)/build; \
fi
Expand Down
4 changes: 2 additions & 2 deletions src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $(STATLIB):
mkdir -p $(TARGET_DIR)/libgcc_mock && touch $(TARGET_DIR)/libgcc_mock/libgcc_eh.a

# CARGO_LINKER is provided in Makevars.ucrt for R >= 4.2
if [ "$(NOT_CRAN)" != "true" ]; then \
if [ "true" != "true" ]; then \
export CARGO_HOME=$(CARGOTMP); \
fi && \
export CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER="$(CARGO_LINKER)" && \
Expand All @@ -31,7 +31,7 @@ $(STATLIB):
else \
$(BUILD_COMMAND); \
fi;
if [ "$(NOT_CRAN)" != "true" ]; then \
if [ "true" != "true" ]; then \
rm -Rf $(CARGOTMP) && \
rm -Rf $(LIBDIR)/build; \
fi
Expand Down

0 comments on commit d91b6a5

Please sign in to comment.