Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0777fb6

Browse files
author
Alexander Korotkov
committed
Really build extension using specified compiler.
1 parent36e85d8 commit0777fb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎travis/pg-travis-test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ ulimit -c unlimited -S
8989
echo'/tmp/%e-%s-%p.core'| sudo tee /proc/sys/kernel/core_pattern
9090

9191
# build extension (using CFLAGS_SL for gcov)
92-
if [$CHECK_TYPE=="valgrind" ]&& [$CC="clang" ];then
92+
if [$CHECK_TYPE=="valgrind" ];then
9393
make USE_PGXS=1 USE_ASSERT_CHECKING=1 PG_CONFIG=$config_path
9494
make install USE_PGXS=1 PG_CONFIG=$config_path
9595
else
96-
make USE_PGXS=1 USE_ASSERT_CHECKING=1 PG_CONFIG=$config_path CFLAGS_SL="$($config_path --cflags_sl) -coverage"
96+
make USE_PGXS=1 USE_ASSERT_CHECKING=1CC=$CCPG_CONFIG=$config_path CFLAGS_SL="$($config_path --cflags_sl) -coverage"
9797
sudo make install USE_PGXS=1 PG_CONFIG=$config_path
9898
fi
9999

@@ -144,7 +144,7 @@ for corefile in $(find /tmp/ -name '*.core' 2>/dev/null) ; do
144144
done
145145

146146
#generate *.gcov files
147-
if [$CHECK_TYPE=="valgrind" ]&& [$CC="clang" ];then
147+
if [$CC="clang" ];then
148148
bash<(curl -s https://codecov.io/bash) -x"llvm-cov gcov"
149149
else
150150
bash<(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp