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

Commit26def74

Browse files
committed
Add epochprop into variable assignments for REGRESS and TESTS to simplify Makefile and also other minor cleanups to Makefile
1 parent4eb0e3a commit26def74

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

‎Makefile

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,22 @@ DATA_built = $(RELEASE_SQL) \
3030

3131
DOCS = README.pg_sphere COPYRIGHT.pg_sphere
3232
REGRESS = init tables points euler circle line ellipse poly path box index\
33-
contains_ops contains_ops_compat bounding_box_gist gnomo
33+
contains_ops contains_ops_compat bounding_box_gist gnomo epochprop
3434

3535
ifneq ($(USE_HEALPIX),0)
3636
REGRESS += healpix moc mocautocast
3737
endif
3838

39-
REGRESS += epochprop
40-
4139
REGRESS_9_5 = index_9.5# experimental for spoint3
4240

4341
TESTS = init_test tables points euler circle line ellipse poly path box\
44-
index contains_ops contains_ops_compat bounding_box_gist gnomo
42+
index contains_ops contains_ops_compat bounding_box_gist gnomo\
43+
epochprop
4544

4645
ifneq ($(USE_HEALPIX),0)
4746
TESTS += healpix moc mocautocast
4847
endif
4948

50-
TESTS += epochprop
51-
5249
PG_CFLAGS+= -DPGSPHERE_VERSION=$(PGSPHERE_VERSION)
5350
PG_CPPFLAGS+= -DPGSPHERE_VERSION=$(PGSPHERE_VERSION)
5451

@@ -85,7 +82,7 @@ PGS_SQL_9_5 = pgs_9.5.sql # experimental for spoint3
8582

8683
ifdefUSE_PGXS
8784
ifndef PG_CONFIG
88-
PG_CONFIG:= pg_config
85+
PG_CONFIG = pg_config
8986
endif
9087
PGXS :=$(shell$(PG_CONFIG) --pgxs)
9188
include$(PGXS)
@@ -98,8 +95,8 @@ else
9895
endif
9996

10097
ifneq ($(USE_HEALPIX),0)
101-
# compiler settings
102-
PKG_CONFIG = pkg-config
98+
# compiler settings for linking with libhealpix_cxx
99+
PKG_CONFIG?= pkg-config
103100
overrideCPPFLAGS +=$(shell$(PKG_CONFIG) --cflags healpix_cxx)
104101
SHLIB_LINK +=$(shell$(PKG_CONFIG) --libs healpix_cxx)
105102
LINK.shared = g++ -shared
@@ -113,7 +110,6 @@ healpix_bare/healpix_bare.o : healpix_bare/healpix_bare.c
113110
pg_version :=$(word 2,$(shell$(PG_CONFIG) --version))
114111
pg_version_9_5_plus =$(if$(filter-out 9.1% 9.2% 9.3% 9.4%,$(pg_version)),y,n)
115112
has_explain_summary =$(if$(filter-out 9.%,$(pg_version)),y,n)
116-
#
117113

118114
## the use of spoint 3 is too experimental and preliminary:
119115
#ifeq ($(pg_version_9_5_plus),y)
@@ -149,14 +145,14 @@ $(RELEASE_SQL): $(addsuffix .in, $(RELEASE_SQL) $(PGS_SQL))
149145

150146
# for "create extension from unpacked*":
151147

152-
UPGRADE_UNP_COMMON =pgs_types.sql pgs_point.sql pgs_euler.sql pgs_circle.sql\
148+
UPGRADE_UNP_COMMON = pgs_types.sql pgs_point.sql pgs_euler.sql pgs_circle.sql\
153149
pgs_line.sql pgs_ellipse.sql pgs_polygon.sql pgs_path.sql\
154150
pgs_box.sql pgs_contains_ops_compat.sql pgs_gist.sql\
155151
pgs_gist_contains_ops.sql contains-ops-fixes-1.sql
156152

157153
AUGMENT_UNP_COMMON = upgrade_scripts/pgs_pre111.sql pgs_contains_ops.sql\
158154
gnomo.sql
159-
# for vanilla 1.1.1 users
155+
# for vanilla 1.1.1 users:
160156
AUGMENT_UNP_111 =$(AUGMENT_UNP_COMMON) pgs_gist_pointkey.sql
161157

162158
# for 1.1.2+ users: 'from unpacked_1.1.2plus'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp