File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
buildconfig/windependencies Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 62
62
msystem : ${{ matrix.msystem }}
63
63
install : >-
64
64
cmake
65
+ gcc
65
66
66
67
- name : Test for Win Deps cache hit
67
68
id : windep-cache
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ mkdir $WIN_PREFIX_PATH
9
9
# for great speed.
10
10
export MAKEFLAGS=" -j 2"
11
11
12
+ # for scripts using ./configure
13
+ export CC=" gcc"
14
+ export CXX=" g++"
15
+
12
16
# With this we
13
17
# 1) Force install prefix to $WIN_PREFIX_PATH
14
18
# 2) use lib directory (and not lib64)
@@ -19,7 +23,7 @@ export PG_BASE_CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=$WIN_PREFIX_PATH \
19
23
-DCMAKE_INSTALL_LIBDIR:PATH=lib \
20
24
-DCMAKE_BUILD_TYPE=Release \
21
25
-DBUILD_SHARED_LIBS=true \
22
- -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_MAKE_PROGRAM=make"
26
+ -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_MAKE_PROGRAM=make"
23
27
24
28
export ARCHS_CONFIG_FLAG=" --prefix=$WIN_PREFIX_PATH "
25
29
You can’t perform that action at this time.
0 commit comments