-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
orc 2.0.1 #11
Conversation
…da-forge-pinning 2020.12.04.08.17.45
…314-0-1_h9a7a2c Rebuild for libprotobuf314
…da-forge-pinning 2020.12.31.20.36.09
…1_hd98ab0 Rebuild for lz4-c193
…da-forge-pinning 2021.01.22.19.19.10
…da-forge-pinning 2021.02.20.20.42.23
…da-forge-pinning 2021.02.21.18.29.10
automerged PR by conda-forge/automerge-action
…nda-forge-pinning 2021.05.07.14.12.29
…316-0-1_h6412fa Rebuild for libprotobuf316
…nda-forge-pinning 2021.05.16.17.33.49
…h7b2760 Rebuild for zstd15
…nda-forge-pinning 2021.07.02.15.37.15
…nda-forge-pinning 2021.08.08.03.57.11
…nda-forge-pinning 2024.03.06.12.50.32
…libprotobuf4253-0-1_h94d986 Rebuild for libprotobuf 4.25.3
…nda-forge-pinning 2024.04.08.16.26.39
…-1_he55bc0 Rebuild for snappy120
…ForgeAutomergeUpdate
…nda-forge-pinning 2024.05.15.08.40.24
add runtime dependence on tzdata
- libabseil # [win] | ||
- lz4-c | ||
- zstd | ||
- __osx >={{ MACOSX_DEPLOYMENT_TARGET }} # [osx and x86_64] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be done through macos_min_version
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All our feedstock use MACOSX_DEPLOYMENT_TARGET to set this constraint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I see, it's a common pattern. out of interest, does macos_min_version
do exactly the same thing do you know?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
recipe/conda_build_config.yaml
Outdated
cxx_compiler: # [win] | ||
- 'vs2019' # [win] | ||
c_compiler: # [win] | ||
- 'vs2019' # [win] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed as vs2019 is already a default compiler in a generic cbc.yaml on win64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, couple of minor nits
recipe/build.sh
Outdated
@@ -16,9 +16,9 @@ if [[ ${HOST} =~ .*darwin.* ]]; then | |||
_CMAKE_EXTRA_CONFIG+=(-DCMAKE_AR=${AR}) | |||
_CMAKE_EXTRA_CONFIG+=(-DCMAKE_RANLIB=${RANLIB}) | |||
_CMAKE_EXTRA_CONFIG+=(-DCMAKE_LINKER=${LD}) | |||
CXXFLAGS="${CXXFLAGS} -DPROTOBUF_USE_DLLS -D_LIBCPP_DISABLE_AVAILABILITY" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-DPROTOBUF_USE_DLLS
sounds like a windows flag, not a macos one
fi | ||
if [[ ${HOST} =~ .*linux.* ]]; then | ||
CXXFLAGS="${CXXFLAGS//-std=c++17/-std=c++11}" | ||
# I hate you so much CMake. | ||
LIBPTHREAD=$(find ${PREFIX} -name "libpthread.so") | ||
_CMAKE_EXTRA_CONFIG+=(-DPTHREAD_LIBRARY=${LIBPTHREAD}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export LDFLAGS="${LDFLAGS} -Wl,-rpath,$PREFIX/lib"
instead of CPPFLAGS
? (the current implementation seems to be working however)
orc 2.0.1
Destination channel: main
Links
Explanation of changes: