diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-10-20 00:11:04 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-10-20 00:11:04 +0800 |
commit | 2f2e7487b8808226e4562f66a572816bc29e5654 (patch) | |
tree | d747cab87621ff121b919c9758d66ecf5ff21d9b /devel | |
parent | b952306507d8fab66c548f450a3c78fa67fbe525 (diff) | |
download | freebsd-ports-gnome-2f2e7487b8808226e4562f66a572816bc29e5654.tar.gz freebsd-ports-gnome-2f2e7487b8808226e4562f66a572816bc29e5654.tar.zst freebsd-ports-gnome-2f2e7487b8808226e4562f66a572816bc29e5654.zip |
- Update to 0.3.0
- While here, add LICENSE_FILE
PR: 213567
Submitted by: kurt@kmk-computers.de (maintainer)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libflatarray/Makefile | 7 | ||||
-rw-r--r-- | devel/libflatarray/distinfo | 5 | ||||
-rw-r--r-- | devel/libflatarray/files/patch-examples_performance__tests_main.cpp | 70 | ||||
-rw-r--r-- | devel/libflatarray/files/patch-src_aligned__allocator.hpp | 16 | ||||
-rw-r--r-- | devel/libflatarray/pkg-plist | 100 |
5 files changed, 95 insertions, 103 deletions
diff --git a/devel/libflatarray/Makefile b/devel/libflatarray/Makefile index 3efb1546995f..7782c2f0ec2f 100644 --- a/devel/libflatarray/Makefile +++ b/devel/libflatarray/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libflatarray -PORTVERSION= 0.2.0 +PORTVERSION= 0.3.0 CATEGORIES= devel science MASTER_SITES= http://www.libgeodecomp.org/archive/ @@ -10,11 +10,12 @@ MAINTAINER= kurt@kmk-computers.de COMMENT= Struct of arrays library with object oriented interface for C++ LICENSE= BSL +LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= boost-libs>=1.48:devel/boost-libs -USES= cmake:outsource +USES= cmake:outsource compiler:c++11-lib -CMAKE_ARGS+= -DWITH_CUDA:BOOL=FALSE +CMAKE_ARGS= -DWITH_CUDA:BOOL=FALSE .include <bsd.port.mk> diff --git a/devel/libflatarray/distinfo b/devel/libflatarray/distinfo index c40ba8e86067..715fb2baa800 100644 --- a/devel/libflatarray/distinfo +++ b/devel/libflatarray/distinfo @@ -1,2 +1,3 @@ -SHA256 (libflatarray-0.2.0.tar.gz) = 6ab2aee30e4bd0c8eed876e68c8865c6b981e22481a870154d60e1c520ed9203 -SIZE (libflatarray-0.2.0.tar.gz) = 41804 +TIMESTAMP = 1476893233 +SHA256 (libflatarray-0.3.0.tar.gz) = 25bb7244c4defddc1458d465f1d78ceaf06166c3e45b54aef5693424de4b4d02 +SIZE (libflatarray-0.3.0.tar.gz) = 143859 diff --git a/devel/libflatarray/files/patch-examples_performance__tests_main.cpp b/devel/libflatarray/files/patch-examples_performance__tests_main.cpp deleted file mode 100644 index ad9d7c24c5ea..000000000000 --- a/devel/libflatarray/files/patch-examples_performance__tests_main.cpp +++ /dev/null @@ -1,70 +0,0 @@ ---- examples/performance_tests/main.cpp.orig 2016-02-02 20:14:50 UTC -+++ examples/performance_tests/main.cpp -@@ -10,7 +10,14 @@ - #include <libflatarray/short_vec.hpp> - #include <libflatarray/testbed/cpu_benchmark.hpp> - #include <libflatarray/testbed/evaluate.hpp> -+ -+#ifdef __SSE__ -+#include <xmmintrin.h> -+#endif -+ -+#ifdef __AVX__ - #include <immintrin.h> -+#endif - - #define WEIGHT_S 0.11 - #define WEIGHT_T 0.12 -@@ -118,6 +125,7 @@ private: - } - }; - -+#ifdef __SSE__ - class JacobiD3Q7Pepper : public JacobiD3Q7 - { - public: -@@ -292,6 +300,7 @@ private: - } - } - }; -+#endif - - class JacobiCell - { -@@ -416,6 +425,7 @@ private: - } - }; - -+#ifdef __SSE__ - class JacobiD3Q7Silver : public JacobiD3Q7 - { - public: -@@ -634,6 +644,7 @@ private: - } - } - }; -+#endif - - class Particle - { -@@ -1477,7 +1488,7 @@ int main(int argc, char **argv) - eval(JacobiD3Q7Vanilla(), *i); - } - --#ifdef __AVX__ -+#ifdef __SSE__ - for (std::vector<std::vector<int> >::iterator i = sizes.begin(); i != sizes.end(); ++i) { - eval(JacobiD3Q7Pepper(), *i); - } -@@ -1487,9 +1498,11 @@ int main(int argc, char **argv) - eval(JacobiD3Q7Bronze(), *i); - } - -+#ifdef __SSE__ - for (std::vector<std::vector<int> >::iterator i = sizes.begin(); i != sizes.end(); ++i) { - eval(JacobiD3Q7Silver(), *i); - } -+#endif - - sizes.clear(); - diff --git a/devel/libflatarray/files/patch-src_aligned__allocator.hpp b/devel/libflatarray/files/patch-src_aligned__allocator.hpp deleted file mode 100644 index 2b45b48102b3..000000000000 --- a/devel/libflatarray/files/patch-src_aligned__allocator.hpp +++ /dev/null @@ -1,16 +0,0 @@ ---- src/aligned_allocator.hpp.orig 2014-10-28 09:12:31 UTC -+++ src/aligned_allocator.hpp -@@ -8,13 +8,7 @@ - #ifndef FLAT_ARRAY_ALIGNED_ALLOCATOR_HPP - #define FLAT_ARRAY_ALIGNED_ALLOCATOR_HPP - --#ifdef __APPLE__ - #include <cstddef> --#include <stdlib.h> --#else --#include <malloc.h> --#endif -- - #include <memory> - - namespace LibFlatArray { diff --git a/devel/libflatarray/pkg-plist b/devel/libflatarray/pkg-plist index eea9575f76e8..e4ec4be7c6f5 100644 --- a/devel/libflatarray/pkg-plist +++ b/devel/libflatarray/pkg-plist @@ -1,31 +1,107 @@ +lib/cmake/libflatarray/libflatarrayConfigVersion.cmake +lib/cmake/libflatarray/libflatarrayConfig.cmake include/libflatarray/aggregated_member_size.hpp include/libflatarray/aligned_allocator.hpp include/libflatarray/api_traits.hpp include/libflatarray/coord.hpp include/libflatarray/cuda_allocator.hpp +include/libflatarray/cuda_array.hpp +include/libflatarray/estimate_optimum_short_vec_type.hpp +include/libflatarray/flat_array.hpp +include/libflatarray/loop_peeler.hpp +include/libflatarray/macros.hpp +include/libflatarray/member_ptr_to_offset.hpp +include/libflatarray/number_of_members.hpp +include/libflatarray/preprocessor.hpp +include/libflatarray/short_vec.hpp +include/libflatarray/soa_accessor.hpp +include/libflatarray/soa_array.hpp +include/libflatarray/soa_grid.hpp +include/libflatarray/streaming_short_vec.hpp +include/libflatarray/detail/construct_functor.hpp +include/libflatarray/detail/copy_functor.hpp +include/libflatarray/detail/destroy_functor.hpp include/libflatarray/detail/dual_callback_helper.hpp -include/libflatarray/detail/get_set_instance_functor.hpp -include/libflatarray/detail/load_save_functor.hpp +include/libflatarray/detail/generate_cuda_launch_config.hpp +include/libflatarray/detail/generic_destruct.hpp +include/libflatarray/detail/get_instance_functor.hpp +include/libflatarray/detail/load_functor.hpp include/libflatarray/detail/macros.hpp include/libflatarray/detail/offset.hpp +include/libflatarray/detail/preprocessor.hpp +include/libflatarray/detail/save_functor.hpp include/libflatarray/detail/set_byte_size_functor.hpp +include/libflatarray/detail/set_instance_functor.hpp +include/libflatarray/detail/short_vec_avx512_double_16.hpp +include/libflatarray/detail/short_vec_avx512_double_32.hpp +include/libflatarray/detail/short_vec_avx512_double_8.hpp +include/libflatarray/detail/short_vec_avx512_float_16.hpp +include/libflatarray/detail/short_vec_avx512_float_32.hpp +include/libflatarray/detail/short_vec_avx512_int_16.hpp +include/libflatarray/detail/short_vec_avx512_int_32.hpp +include/libflatarray/detail/short_vec_avx_double_16.hpp +include/libflatarray/detail/short_vec_avx_double_32.hpp +include/libflatarray/detail/short_vec_avx_double_4.hpp +include/libflatarray/detail/short_vec_avx_double_8.hpp +include/libflatarray/detail/short_vec_avx_float_16.hpp +include/libflatarray/detail/short_vec_avx_float_32.hpp include/libflatarray/detail/short_vec_avx_float_8.hpp +include/libflatarray/detail/short_vec_avx_int_16.hpp +include/libflatarray/detail/short_vec_avx_int_32.hpp +include/libflatarray/detail/short_vec_avx_int_8.hpp +include/libflatarray/detail/short_vec_helpers.hpp +include/libflatarray/detail/short_vec_mic_double_16.hpp +include/libflatarray/detail/short_vec_mic_double_32.hpp +include/libflatarray/detail/short_vec_mic_double_8.hpp +include/libflatarray/detail/short_vec_mic_float_16.hpp +include/libflatarray/detail/short_vec_mic_float_32.hpp +include/libflatarray/detail/short_vec_neon_float_16.hpp +include/libflatarray/detail/short_vec_neon_float_32.hpp +include/libflatarray/detail/short_vec_neon_float_4.hpp +include/libflatarray/detail/short_vec_neon_float_8.hpp +include/libflatarray/detail/short_vec_qpx_double_16.hpp +include/libflatarray/detail/short_vec_qpx_double_32.hpp include/libflatarray/detail/short_vec_qpx_double_4.hpp +include/libflatarray/detail/short_vec_qpx_double_8.hpp +include/libflatarray/detail/short_vec_scalar_double_1.hpp +include/libflatarray/detail/short_vec_scalar_double_16.hpp +include/libflatarray/detail/short_vec_scalar_double_2.hpp +include/libflatarray/detail/short_vec_scalar_double_32.hpp +include/libflatarray/detail/short_vec_scalar_double_4.hpp +include/libflatarray/detail/short_vec_scalar_double_8.hpp +include/libflatarray/detail/short_vec_scalar_float_1.hpp +include/libflatarray/detail/short_vec_scalar_float_16.hpp +include/libflatarray/detail/short_vec_scalar_float_2.hpp +include/libflatarray/detail/short_vec_scalar_float_32.hpp +include/libflatarray/detail/short_vec_scalar_float_4.hpp +include/libflatarray/detail/short_vec_scalar_float_8.hpp +include/libflatarray/detail/short_vec_scalar_int_1.hpp +include/libflatarray/detail/short_vec_scalar_int_16.hpp +include/libflatarray/detail/short_vec_scalar_int_2.hpp +include/libflatarray/detail/short_vec_scalar_int_32.hpp +include/libflatarray/detail/short_vec_scalar_int_4.hpp +include/libflatarray/detail/short_vec_scalar_int_8.hpp +include/libflatarray/detail/short_vec_sse_double_16.hpp +include/libflatarray/detail/short_vec_sse_double_2.hpp +include/libflatarray/detail/short_vec_sse_double_32.hpp +include/libflatarray/detail/short_vec_sse_double_4.hpp include/libflatarray/detail/short_vec_sse_double_8.hpp include/libflatarray/detail/short_vec_sse_float_16.hpp +include/libflatarray/detail/short_vec_sse_float_32.hpp +include/libflatarray/detail/short_vec_sse_float_4.hpp include/libflatarray/detail/short_vec_sse_float_8.hpp +include/libflatarray/detail/short_vec_sse_int_16.hpp +include/libflatarray/detail/short_vec_sse_int_32.hpp +include/libflatarray/detail/short_vec_sse_int_4.hpp +include/libflatarray/detail/short_vec_sse_int_8.hpp +include/libflatarray/detail/sibling_short_vec_switch.hpp +include/libflatarray/detail/simple_streak.hpp +include/libflatarray/detail/soa_array_member_copy_helper.hpp include/libflatarray/detail/sqrt_reference.hpp -include/libflatarray/flat_array.hpp -include/libflatarray/macros.hpp -include/libflatarray/member_ptr_to_offset.hpp -include/libflatarray/number_of_members.hpp -include/libflatarray/short_vec.hpp -include/libflatarray/soa_accessor.hpp -include/libflatarray/soa_array.hpp -include/libflatarray/soa_grid.hpp +include/libflatarray/detail/staging_buffer.hpp +include/libflatarray/detail/streaming_short_vec_switch.hpp include/libflatarray/testbed/benchmark.hpp include/libflatarray/testbed/cpu_benchmark.hpp include/libflatarray/testbed/evaluate.hpp include/libflatarray/testbed/gpu_benchmark.hpp -lib/cmake/libflatarray/libflatarrayConfig.cmake -lib/cmake/libflatarray/libflatarrayConfigVersion.cmake +include/libflatarray/config.h |