Commit dd67ce7 1 parent ee79003 commit dd67ce7 Copy full SHA for dd67ce7
File tree 8 files changed +23
-16
lines changed
8 files changed +23
-16
lines changed Original file line number Diff line number Diff line change 1
1
MACOSX_DEPLOYMENT_TARGET :
2
2
- ' 11.0'
3
3
MACOSX_SDK_VERSION :
4
- - ' 11.0 '
4
+ - ' 13.3 '
5
5
c_compiler :
6
6
- clang
7
7
c_compiler_version :
Original file line number Diff line number Diff line change @@ -16,9 +16,5 @@ sed -i \
16
16
s/" tiledb rc" /" tiledb nightlies" / \
17
17
recipe/conda_build_config.yaml
18
18
19
- # Apply patch from Xanthos to support C++20
20
- # https://github.com/TileDB-Inc/tiledbsoma-feedstock/pull/246
21
- patch -p1 < .github/scripts/nightly/cpp20.patch
22
-
23
19
# Print differences
24
20
git --no-pager diff conda-forge.yml recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change 2
2
3
3
set -exo pipefail
4
4
5
+ # Clear default compiler flags
6
+ export CXXFLAGS=${CXXFLAGS// " -fvisibility-inlines-hidden" / }
7
+
5
8
mkdir libtiledbsoma-build && cd libtiledbsoma-build
6
9
7
10
cmake \
Original file line number Diff line number Diff line change @@ -4,21 +4,28 @@ set -ex
4
4
5
5
cd apis/r
6
6
7
+ # Clear default compiler flags
8
+ export CXXFLAGS=${CXXFLAGS// " -fvisibility-inlines-hidden" / }
9
+
7
10
export DISABLE_AUTOBREW=1
8
11
9
12
# https://github.com/conda-forge/r-tiledb-feedstock/commit/29cb6816636e7b5b58545e1407a8f0c29ff9dc39
10
- if [[ $target_platform == osx-64 ]]; then
13
+ if [[ $target_platform == osx-* ]]; then
11
14
export NN_CXX_ORIG=$CXX
12
15
export NN_CC_ORIG=$CC
13
16
export CXX=$RECIPE_DIR /cxx_wrap.sh
14
17
export CC=$RECIPE_DIR /cc_wrap.sh
15
- mkdir -p ~ /.R
16
- echo CC=$RECIPE_DIR /cc_wrap.sh > ~ /.R/Makevars
17
- echo CXX=$RECIPE_DIR /cxx_wrap.sh >> ~ /.R/Makevars
18
- echo CXX17=$RECIPE_DIR /cxx_wrap.sh >> ~ /.R/Makevars
19
18
fi
20
19
21
- export CXX17FLAGS=" -Wno-deprecated-declarations -Wno-deprecated"
20
+ export CXX=" $CXX -std=c++20 -fPIC"
21
+ export CXX20=" $CXX "
22
+
23
+ mkdir -p ~ /.R
24
+ echo CC=" $CC " > ~ /.R/Makevars
25
+ echo CXX=" $CXX " >> ~ /.R/Makevars
26
+ echo CXX20=" $CXX20 " >> ~ /.R/Makevars
27
+
28
+ export CXX20FLAGS=" -Wno-deprecated-declarations -Wno-deprecated"
22
29
23
30
# https://conda-forge.org/docs/maintainer/knowledge_base/#newer-c-features-with-old-sdk
24
31
if [[ $target_platform == osx-* ]]; then
Original file line number Diff line number Diff line change 4
4
5
5
cd apis/python
6
6
7
+ # Clear default compiler flags
8
+ export CXXFLAGS=${CXXFLAGS// " -fvisibility-inlines-hidden" / }
9
+
7
10
echo
8
11
echo " PKG_VERSION IS <<$PKG_VERSION >>"
9
12
echo
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- args=" ${@## -mmacosx-version-min=10.9* } "
4
- $NN_CC_ORIG $args -mmacosx-version-min=11.0
3
+ $NN_CC_ORIG " $@ " -mmacosx-version-min=13.3
Original file line number Diff line number Diff line change 1
1
# https://conda-forge.org/docs/maintainer/knowledge_base/#requiring-newer-macos-sdks
2
2
# https://conda-forge.org/news/2024/03/24/stdlib-migration/
3
3
MACOSX_SDK_VERSION : # [osx and x86_64]
4
- - 11.0 # [osx and x86_64]
4
+ - 13.3 # [osx and x86_64]
5
5
c_stdlib_version : # [osx and x86_64]
6
6
- 11.0 # [osx and x86_64]
7
7
channel_sources :
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- args=" ${@## -mmacosx-version-min=10.9* } "
4
- $NN_CXX_ORIG $args -mmacosx-version-min=11.0
3
+ $NN_CXX_ORIG " $@ " -mmacosx-version-min=13.3
You can’t perform that action at this time.
0 commit comments