Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
postgresql-q3c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PostgreSQL
postgresql-q3c
Commits
8b94ed31
Commit
8b94ed31
authored
5 years ago
by
Christoph Berg
📡
Browse files
Options
Downloads
Patches
Plain Diff
Unapply patch from git
parent
c844e854
No related branches found
Branches containing commit
Tags
debian/1.8.1-1
Tags containing commit
No related merge requests found
Pipeline
#112713
passed
5 years ago
Stage: build
Stage: test
Changes
1
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+8
-2
8 additions, 2 deletions
Makefile
with
8 additions
and
2 deletions
Makefile
+
8
−
2
View file @
8b94ed31
...
...
@@ -25,7 +25,13 @@ include $(PGXS)
PGVER
:=
$(
shell
echo
$(
VERSION
)
|
sed
"s/^
\(
[^
\.
]
\+\)\.
.*/
\1
/"
)
PGVERNEW
:=
$(
shell
if
[
$(
PGVER
)
-ge
12
]
;
then
echo
N
;
else
echo
O
;
fi
)
MYBINLIBS
:=
-L
$(
shell
$(
PG_CONFIG
)
--pkglibdir
)
-lpgport
-lm
ifeq
($(PGVERNEW), N)
PG_LIBS
+=
-L
$(
shell
$(
PG_CONFIG
)
--pkglibdir
)
LIBS
:=
$(
filter-out
-lpam
-lxml2
-lxslt
-lselinux
-ledit
,
$(
LIBS
))
MYBINLIBS
:=
$(
LIBS
)
$(
PG_LIBS
)
-lm
else
MYBINLIBS
:=
$(
PG_LIBS
)
-lm
endif
dump.c
:
prepare
./prepare
...
...
@@ -36,7 +42,7 @@ prepare: prepare.o q3cube.o q3c_poly.o
gen_data
:
gen_data.c
$(
CC
)
$<
$(
CPPFLAGS
)
$(
PG_LFGLAGS
)
$(
LDFLAGS
)
$(
MYBINLIBS
)
-o
$@
test
:
gen_data
test
:
gen_data
all
createdb q3c_test
psql q3c_test
-c
"CREATE TABLE test (ra double precision, dec double precision)"
psql q3c_test
-c
"CREATE TABLE test1 (ra double precision, dec double precision)"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment