Commit Graph

53 Commits

Author SHA1 Message Date
Jan Beich
8c039a25be Drop verbose flag for CTest after r444324
ninja: error: unknown target 'ARGS=-V'
2019-09-27 17:25:50 +00:00
Jan Beich
e5688543b0 Drop C++11 workaround for GCC < 6 after r449590
lang/gcc5 will expire in ~1 month. If someone still uses lang/gcc48
they should backport C++11 fix instead. QA on GCC architecuters is
currently limited to powerpc64 which uses GCC_DEFAULT.

PR:		193528
2019-09-14 22:01:13 +00:00
Jan Beich
befa71e0f3 devel/boost-*: update to 1.71.0
Changes:	http://www.boost.org/users/history/version_1_71_0.html
PR:		238827
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D20774
2019-08-19 15:35:27 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Jan Beich
e0ac7ffda9 graphics/colmap: unbreak OPENMP with GCC 9
In file included from lib/VLFeat/kmeans.h:21,
                 from lib/VLFeat/kmeans.c:363:
lib/VLFeat/kmeans.c: In function '_vl_kmeans_quantize_f':
lib/VLFeat/mathop.h:92:37: error: 'vl_infinity_d' not specified in enclosing 'parallel'
   92 | #define VL_INFINITY_D (vl_infinity_d.value)
      |                       ~~~~~~~~~~~~~~^~~~~~~
lib/VLFeat/kmeans.c:685:34: note: in expansion of macro 'VL_INFINITY_D'
  685 |       TYPE bestDistance = (TYPE) VL_INFINITY_D ;
      |                                  ^~~~~~~~~~~~~
In file included from lib/VLFeat/kmeans.c:1782:
lib/VLFeat/kmeans.c:672:9: error: enclosing 'parallel'
  672 | #pragma omp parallel default(none) \
      |         ^~~
In file included from lib/VLFeat/kmeans.c:1788:
lib/VLFeat/kmeans.c: In function '_vl_kmeans_quantize_d':
lib/VLFeat/kmeans.c:685:27: error: 'vl_infinity_d' not specified in enclosing 'parallel'
  685 |       TYPE bestDistance = (TYPE) VL_INFINITY_D ;
lib/VLFeat/kmeans.c:672:9: error: enclosing 'parallel'
  672 | #pragma omp parallel default(none) \
      |         ^~~

PR:		238330
Reported by:	antoine (via exp-run)
2019-06-17 11:51:10 +00:00
Jan Beich
3b7528c7fe graphics/colmap: unbreak OPENMP on -CURRENT i386 after r499662
ld: error: undefined symbol: __atomic_load
>>> referenced by PoissonRecon.cpp
>>>               PoissonRecon.cpp.o:(.omp_outlined.) in archive lib/PoissonRecon/libpoisson_recon.a

ld: error: undefined symbol: __atomic_compare_exchange
>>> referenced by PoissonRecon.cpp
>>>               PoissonRecon.cpp.o:(.omp_outlined.) in archive lib/PoissonRecon/libpoisson_recon.a

Reported by:	pkg-fallout
2019-04-27 19:09:15 +00:00
Jan Beich
9ccb836090 math/ceres-solver: don't force GCC for OpenMP on -CURRENT
Limited to amd64 and i386. LLVM openmp doesn't support other
architectures on FreeBSD (unlike Linux) but it's only important where
Clang is default e.g., aarch64, armv6, armv7.
2019-04-22 17:38:04 +00:00
Jan Beich
6df9e8ff12 math/ceres-solver: drop GCC RPATH after r499061
USES=fortran was used to ensure linking against libceres picks up
correct libgcc_s to satisfy dependencies e.g., suitesparse, *blas.
2019-04-22 17:37:56 +00:00
Jan Beich
3a2688e8d9 graphics/colmap: drop USES=gmake
Ignored: is marked as broken: USES=gmake is incompatible with cmake's ninja-generator
2019-04-22 17:37:39 +00:00
Gerald Pfeifer
879e75a659 Related to revision 499061 bump ports with USES=fortran to have them
benefit from the improved situation where libgcc_s is only used when
absolutely necessary.

Suggested by:	tijl
2019-04-22 13:16:33 +00:00
Jan Beich
9b21a3a084 devel/boost-*: update to 1.70.0
Changes:	http://www.boost.org/users/history/version_1_70_0.html
PR:		235956
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D19303
2019-04-12 06:36:31 +00:00
Tijl Coosemans
1bf487d3e7 Fix Qt5 symbol version scripts to put the catch-all clause first. When
a symbol matches multiple clauses the last one takes precedence.  If the
catch-all is last it captures everything.  In the case of Qt5 libraries
this caused all symbols to have a Qt_5 label while some should have
Qt_5_PRIVATE_API.  This only affects lld because GNU ld always gives the
catch-all lowest priority.

Older versions of Qt5Webengine exported some memory allocation symbols from
the bundled Chromium.  Version 5.9 stopped exporting these [1] but the
symbols were kept as weak wrappers for the standard allocation functions to
maintain binary compatibility. [2][3]  The problem is that the call to the
standard function in these weak wrappers is only resolved to the standard
function if there's a call to this standard function in other parts of
Qt5Webengine, because only then is there a non-weak symbol that takes
precedence over the weak one.  If there's no such non-weak symbol the call
in the weak wrapper resolves to the weak wrapper itself creating an infinite
call loop that overflows the stack and causes a crash.  Some of the
allocation functions are variants of C++ new and delete and it probably
depends on the compiler whether these variants are used in other parts of
Qt5Webengine.

Remove the weak wrappers (make them Linux specific).  This isn't binary
compatible but we are already breaking that with the changes to the symbol
versions.

[1] 5c2cbfccf9
[2] 2ed5054e3a
[3] 009f5ebb4b

Bump all ports that depend on Qt5.

PR:		234070
Exp-run by:	antoine
Approved by:	kde (adridg)
2019-01-16 11:13:44 +00:00
Tobias C. Berner
8a4ab05d84 Update math/eigen3 to 3.3.7
- http://eigen.tuxfamily.org/index.php?title=ChangeLog#Eigen_3.3.6
- http://eigen.tuxfamily.org/index.php?title=ChangeLog#Eigen_3.3.7
2018-12-26 09:06:34 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Jan Beich
7c879267dc devel/boost-*: update to 1.69.0
Changes:	http://www.boost.org/users/history/version_1_69_0.html
PR:		232525
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17645
2018-12-12 00:15:49 +00:00
Jan Beich
96bc9a92c5 graphics/colmap: drop FreeBSD 11.1 support per EOL 2018-10-10 21:44:29 +00:00
Niclas Zeising
0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00
Jan Beich
eef7996894 graphics/colmap: update to 3.5
Changes:	https://github.com/colmap/colmap/blob/3.5/CHANGELOG.txt
2018-08-27 11:05:13 +00:00
Jan Beich
0b055d47f2 devel/boost-*: update to 1.68.0
- Switch to C++14 for libboost_system to support C++14 consumers

Changes:	http://www.boost.org/users/history/version_1_68_0.html
PR:		229569
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D16165
2018-08-09 06:58:30 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Tobias C. Berner
b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00
Jan Beich
cc95712fbe devel/boost-*: update to 1.67.0
Changes:	http://www.boost.org/users/history/version_1_67_0.html
PR:		227427
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D15030
2018-04-18 13:57:42 +00:00
Gerald Pfeifer
c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Jan Beich
0d2a2751d4 graphics/colmap: unbreak OPENMP=off after r446135
src/ext/PBA/SparseBundleCPU.cpp:1208:7: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing]
      RUN_THREAD(ComputeProjection, threads[i], last - first, camera, point,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:933:3: note: expanded from macro 'RUN_THREAD'
  DECLEAR_THREAD_DATA(X, __VA_ARGS__); \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:908:30: note: expanded from macro 'DECLEAR_THREAD_DATA'
  X##_STRUCT<Float> tdata = {i, __VA_ARGS__}; \
                             ^
src/ext/PBA/SparseBundleCPU.cpp:1537:68: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing]
                 intrinsic_fixed, radial_distortion, shuffle, jct, first);
                                                                   ^~~~~
src/ext/PBA/SparseBundleCPU.cpp:933:26: note: expanded from macro 'RUN_THREAD'
  DECLEAR_THREAD_DATA(X, __VA_ARGS__); \
                         ^~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:908:33: note: expanded from macro 'DECLEAR_THREAD_DATA'
  X##_STRUCT<Float> tdata = {i, __VA_ARGS__}; \
                                ^~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:1537:68: note: insert an explicit cast to silence this issue
                 intrinsic_fixed, radial_distortion, shuffle, jct, first);
                                                                   ^~~~~
                                                                   static_cast<int>(
2018-02-11 08:16:12 +00:00
Jan Beich
6cf98c7381 graphics/colmap: don't use pkg-plist for a single file after r460536 2018-02-11 08:15:51 +00:00
Jan Beich
adf4c97bcb graphics/colmap: update to 3.4
Changes:	https://github.com/colmap/colmap/blob/3.4/CHANGELOG.txt
2018-01-31 21:36:53 +00:00
Jan Beich
e43cd51bd0 graphics/colmap: drop Clang workaround 2018-01-31 21:36:11 +00:00
Jan Beich
25beeff079 devel/boost-*: update to 1.66.0
Changes:	http://www.boost.org/users/history/version_1_66_0.html
PR:		223922
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D13279
2018-01-18 04:11:02 +00:00
Tobias C. Berner
51d04637cb New USES=eigen
Usage:
    USES=eigen:<version>[,<type>]

    version: 2 or 3 (required)
    type:    build (default), run

  For example:
    USES=eigen:2,build,run
  will add a BUILD- and RUN_DEPENDS on math/eigen2, and
    USES=eigen:3
  will add a BUILD_DEPENDS on math/eigen3.

* Convert the existing ports to use it
  - biology/iqtree: remove run time dependency (seemed not to be needed)
  - graphics/movit: remove run time dependency (seemed not to be needed)
  - science/avogadro: add run time dependeny (installed cmake file requires it to be present)

Reviewed by:	rakuco, mat
Differential Revision:	https://reviews.freebsd.org/D13702
2018-01-02 16:49:24 +00:00
Jan Beich
9d1dc2407c Improve CMake style in my ports
- Convert to CMAKE_{ON,OFF} helpers
- Convert to _CMAKE_BOOL option helpers
- android-file-transfer: Share _CMAKE_BOOL via _IMPLIES
- Annotate types
2018-01-01 13:42:54 +00:00
Jan Beich
175bd94a98 graphics/colmap: update to 3.3
Changes:	https://github.com/colmap/colmap/blob/3.3/CHANGELOG.txt
2017-12-05 20:52:57 +00:00
Niclas Zeising
5598792853 Bump portrevision to chase graphics/glew shard library version update.
PR:		223370
Submitted by:	zeising
exp-run by:	antoine
Approved by:	antoine
2017-11-18 19:32:38 +00:00
Jan Beich
46442bc3b2 graphics/colmap: unbreak -msse -mno-sse2 build 2017-11-05 21:57:15 +00:00
Jan Beich
98eb11b2f0 devel/boost-*: update to 1.65.1
Changes:	http://www.boost.org/users/history/version_1_65_1.html
PR:		218835
Approved by:	maintainer timeout (1.65.1: 2 weeks; 1.65.0: 1 month)
Tested by:	jhibbits (on powerpc64, earlier version)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11582
2017-09-25 00:08:16 +00:00
Jan Beich
7e21a6476a devel/boost-*: enable C++11 features
PR:		218835
Obtained from:	https://github.com/DragonFlyBSD/DeltaPorts/pull/690
Approved by:	maintainer timeout (2 months)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11582
2017-09-25 00:05:05 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Jan Beich
0e8a288fc7 graphics/colmap: try#2 to unbreak on non-x86
../ext/VLFeat/libvlfeat.a(host.c.o): In function `_vl_x86cpu_info_init':
host.c:(.text+0x1c): undefined reference to `_vl_cpuid'
host.c:(.text+0x40): undefined reference to `_vl_cpuid'
collect2: error: ld returned 1 exit status

Reported by:	pkg-fallout (aarch64, armv6)
2017-09-05 05:47:38 +00:00
Jan Beich
28567ef021 graphics/colmap: update to 3.2
Changes:	https://github.com/colmap/colmap/blob/3.2/CHANGELOG.txt
2017-09-05 01:05:19 +00:00
Jan Beich
664deae3bc graphics/colmap: try to unbreak on non-x86
g++5: error: unrecognized command line option '-mfpmath=sse'

Reported by:	pkg-fallout (aarch64)
2017-07-18 11:30:15 +00:00
Jan Beich
c671e477bf graphics/colmap: update to 3.1.4
Changes:	https://github.com/colmap/colmap/blob/542ce21/CHANGELOG.txt
2017-06-17 10:54:15 +00:00
Jan Beich
59545baa5a graphics/colmap: update to 3.0
Changes:	https://github.com/colmap/colmap/compare/2.1...3.0
2017-05-24 04:26:26 +00:00
Matthew Rezny
b760897dde Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
2017-05-23 05:03:14 +00:00
Jan Beich
b324ade02d devel/boost-*: update to 1.64.0
Changes:	http://www.boost.org/users/history/version_1_64_0.html
PR:		218835
Approved by:	office (bapt)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D10472
2017-05-02 06:48:10 +00:00
Jan Beich
c2332532ae graphics/colmap: drop g++49 workaround after r437437 2017-04-06 22:16:03 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Jan Beich
59e02117ae devel/boost-*: update to 1.63.0
Changes:	http://www.boost.org/users/history/version_1_63_0.html
PR:		215598
Exp-run by:	antoine
Approved by:	office (bapt)
MFH:		2017Q1
2017-01-06 08:45:03 +00:00
Jan Beich
9e58624042 Drop pre-10.3 support in my ports
Figuring out which GCC hacks are safe to drop is tricky but at least
devel/fb-adb is limited to x86 due to ADA bootstrap.
2017-01-03 12:49:39 +00:00
Jan Beich
b5db7a1571 graphics/colmap: update to real 2.1 tag
Changes:	https://github.com/colmap/colmap/compare/55fbe10...2.1
2016-12-19 12:48:19 +00:00
Jan Beich
53196f4c02 graphics/colmap: always build SIMD support 2016-12-19 06:37:20 +00:00
Jan Beich
5ef4f239d8 graphics/colmap: enable OPENMP on 10.2+ after r428641 2016-12-17 17:32:35 +00:00