File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,8 @@ def run(self):
254
254
CXX_FLAGS .append (f'-Wl,-rpath,{ str (tiledb_dir / "lib" )} ' )
255
255
256
256
if sys .platform == "darwin" :
257
- CXX_FLAGS .append ("-mmacosx-version-min=13.3" )
257
+ CXX_FLAGS .append ("-D_LIBCPP_DISABLE_AVAILABILITY" )
258
+ CXX_FLAGS .append ("-mmacosx-version-min=11.0" )
258
259
259
260
if os .name == "posix" and sys .platform != "darwin" :
260
261
LIB_DIRS .append (str (tiledbsoma_dir / "lib" / "x86_64-linux-gnu" ))
Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ option(TILEDB_SANITIZER "Sanitizer to use in TILEDB. ")
76
76
# Enable compiler cache to speed up recompilation
77
77
find_program (CCACHE_FOUND ccache )
78
78
79
+ set (CMAKE_VERBOSE_MAKEFILE ON )
80
+
79
81
if (CCACHE_FOUND )
80
82
set_property (GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache )
81
83
set_property (GLOBAL PROPERTY RULE_LAUNCH_LINK ccache )
@@ -113,6 +115,8 @@ endif()
113
115
if (APPLE )
114
116
set (CMAKE_MACOSX_RPATH ON )
115
117
118
+ set (CMAKE_OSX_DEPLOYMENT_TARGET 11 )
119
+
116
120
# Don't allow macOS .frameworks to be used for dependencies.
117
121
set (CMAKE_FIND_FRAMEWORK NEVER )
118
122
endif ()
@@ -274,7 +278,7 @@ add_definitions(-D_FILE_OFFSET_BITS=64)
274
278
275
279
# Disable incorrect availability check on conda build
276
280
# https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk
277
- add_definitions (-D_LIBCPP_DISABLE_AVAILABILITY )
281
+ # add_definitions(-D_LIBCPP_DISABLE_AVAILABILITY)
278
282
279
283
# AVX2 flag
280
284
include (CheckAVX2Support )
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ Polygon::Polygon(
6
6
std::vector<std::vector<BasePoint>>&& interiorRings)
7
7
: exteriorRing(exteriorRing)
8
8
, interiorRings(interiorRings) {
9
+
10
+ printer (0.1 );
9
11
}
10
12
11
13
Polygon::~Polygon () {
Original file line number Diff line number Diff line change 2
2
#define TILEDBSOMA_POLYGON_H
3
3
4
4
#include < vector>
5
+ #include < iostream>
5
6
6
7
#include " base.h"
7
8
#include " point.h"
@@ -15,6 +16,10 @@ class Polygon {
15
16
std::vector<std::vector<BasePoint>>());
16
17
~Polygon ();
17
18
19
+ template <typename T> requires std::floating_point<T> void printer (T a) {
20
+ std::cout << a << std::endl;
21
+ }
22
+
18
23
std::vector<BasePoint> exteriorRing;
19
24
std::vector<std::vector<BasePoint>> interiorRings;
20
25
};
You can’t perform that action at this time.
0 commit comments