Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Feb 6, 2024
1 parent 55e33f7 commit dbc1fe2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
PWD := $(shell pwd)
export CONAN_HOME := $(PWD)\conan-staging\.conan2
export CC := "$(shell "$(R_HOME)\bin\Rscript" -e 'Sys.which("gcc")')"
export CXX := "$(shell "$(R_HOME)\bin\Rscript" -e 'Sys.which("g++")')"
CC := "$(shell "$(R_HOME)\bin\Rscript" -e 'Sys.which("gcc")')"
CXX := "$(shell "$(R_HOME)\bin\Rscript" -e 'Sys.which("g++")')"

SYMLINK_CC := $(shell ln -s "$CC" $(CONAN_HOME)/gcc)
SYMLINK_CXX := $(shell ln -s "$CXX" $(CONAN_HOME)/g++)

export CC := $(CONAN_HOME)/gcc
export CXX := $(CONAN_HOME)g++

CONANDEPS_MK := $(shell ..\run_conan.py)
include $(CONANDEPS_MK)
Expand Down

0 comments on commit dbc1fe2

Please sign in to comment.