Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
047b454c
Unverified
Commit
047b454c
authored
Apr 28, 2021
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable download ccd in configure, for travis
parent
3f5e6201
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
4 deletions
+58
-4
.travis.yml
+1
-1
GNUmakefile.in
+27
-3
configure
+19
-0
configure.ac
+11
-0
No files found.
.travis.yml
View file @
047b454c
...
...
@@ -22,7 +22,7 @@ before_install:
-
if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install make; fi
script
:
-
if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./configure --disable-shared --disable-revision
; else ./configure --disable-revision
; fi
-
if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./configure --disable-shared --disable-revision
--disable-download-ccd ; else ./configure --disable-revision --disable-download-ccd
; fi
-
if [ "$TRAVIS_OS_NAME" = "osx" ]; then gmake ; else make ; fi
-
if [ "$TRAVIS_OS_NAME" = "osx" ]; then gmake test ; else make test ; fi
-
if [ "$TRAVIS_OS_NAME" = "osx" ]; then sudo gmake install ; else sudo make install; fi
...
...
GNUmakefile.in
View file @
047b454c
...
...
@@ -70,6 +70,12 @@ LIB_TARGET = $(LIB_NAME).la
VERSION
=
@LIBCIF_SEMANTIC_VERSION@
DIST_NAME
=
@PACKAGE_NAME@-
$
(
subst :,.,
$(VERSION)
)
SKIP_DOWNLOAD_CCD
=
@SKIP_DOWNLOAD_CCD@
ifneq
"$(SKIP_DOWNLOAD_CCD)"
"1"
COMPONENTS_CIF
=
components.cif
endif
# libtool stuff
LIBTOOL_DEPS
=
@LIBTOOL_DEPS@
...
...
@@ -137,12 +143,14 @@ $(OBJDIR)/Symmetry.lo: src/SymOpTable_data.cpp
endif
ifneq
"$(COMPONENTS_CIF)"
""
data/components.cif.gz
:
mkdir
-p
data
wget
-O
$@
ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz
data/components.cif
:
data/components.cif.gz
gunzip
-c
$^
>
$@
endif
# We have development releases and official releases, for each we
# maintain different versioning schemes.
...
...
@@ -255,8 +263,22 @@ HEADERS = \
Secondary.hpp
\
TlsParser.hpp
.PHONY
:
install
install
:
lib data/components.cif.gz
.PHONY
:
install-data
ifneq
"$(COMPONENTS_CIF)"
""
install-data
:
data/components.cif.gz
install
-d
$(datadir)
/libcifpp
install
-m644
data/components.cif.gz
$(datadir)
/libcifpp/
else
install-data
:
endif
.PHONY
:
install-lib
install
:
install-lib
install
-d
$(libdir)
$(LIBTOOL)
--mode
=
install install
$(LIB_TARGET)
$(libdir)
install
-d
$(datadir)
/libcifpp
...
...
@@ -266,7 +288,6 @@ install: lib data/components.cif.gz
install
-m644
rsrc/
$$
d
$(datadir)
/libcifpp
;
\
gzip
-f
$(datadir)
/libcifpp/
$$
d
;
\
done
install
-m644
data/components.cif.gz
$(datadir)
/libcifpp/
install
-d
$(CACHE_DIR)
install
-d
$(CRON_DIR)
if
[
!
-f
/etc/libcifpp.conf
]
;
then
\
...
...
@@ -282,6 +303,9 @@ install: lib data/components.cif.gz
install
-d
$(pkgconfigdir)
install
-m
644
$(LIB_NAME)
.pc
$(pkgconfigdir)
/
$(LIB_NAME)
.pc
.PHONY
:
install
install
:
install-lib install-data
dist-clean
:
clean
.PHONY
:
dist
...
...
configure
View file @
047b454c
...
...
@@ -643,6 +643,7 @@ BOOST_IOSTREAMS_LIB
BOOST_LDFLAGS
BOOST_CPPFLAGS
SET_MAKE
SKIP_DOWNLOAD_CCD
UPDATE_REVISION
USE_RSRC
MRC
...
...
@@ -759,6 +760,7 @@ with_sysroot
enable_libtool_lock
enable_resources
enable_revision
enable_download_ccd
with_boost
with_boost_libdir
with_boost_iostreams
...
...
@@ -1418,6 +1420,8 @@ Optional Features:
--disable-libtool-lock avoid locking (might break parallel builds)
--disable-resources Do not use mrc to store data in resources
--disable-revision Create a build number as revision
--disable-download-ccd Do not try to download a CCD components.cif file
during build
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
...
...
@@ -17204,6 +17208,21 @@ fi
UPDATE_REVISION
=
$UPDATE_REVISION
# Check whether --enable-download-ccd was given.
if
test
"
${
enable_download_ccd
+set
}
"
=
set
;
then
:
enableval
=
$enable_download_ccd
;
fi
if
test
"x
$enable_download_ccd
"
=
"xno"
;
then
:
SKIP_DOWNLOAD_CCD
=
1
fi
SKIP_DOWNLOAD_CCD
=
$SKIP_DOWNLOAD_CCD
ac_fn_cxx_check_header_mongrel
"
$LINENO
"
"filesystem"
"ac_cv_header_filesystem"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_filesystem
"
=
xyes
;
then
:
...
...
configure.ac
View file @
047b454c
...
...
@@ -68,6 +68,17 @@ AS_IF([test "x$enable_revision" != "xno" ], [
AC_SUBST([UPDATE_REVISION], [$UPDATE_REVISION])
dnl Do not download CCD components file during make (for travis, won't work)
AC_ARG_ENABLE(
download-ccd,
[AS_HELP_STRING([--disable-download-ccd], [Do not try to download a CCD components.cif file during build])])
AS_IF([test "x$enable_download_ccd" != "xno" ], [
SKIP_DOWNLOAD_CCD=1
])
AC_SUBST([SKIP_DOWNLOAD_CCD], [$SKIP_DOWNLOAD_CCD])
AX_FILESYSTEM
AC_CHECK_FUNCS([floor pow rint sqrt strchr strerror])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment