Comments (11)
I tought backporting the fix in 1.78.0, but from #130 it seems that due to ABI breakage we cannot backport stuff to 1.78.0 .
You can rebuild that branch without upgrading the compiler. Then we don't have to worry about ABI breakage.
from boost-cpp-feedstock.
Fixed by #135, I think that we can close, feel free to re-open if necessary.
from boost-cpp-feedstock.
Any workaround? Is it possible to specify the libcxx version?
from boost-cpp-feedstock.
Sure, possible workaround are:
- Define
_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY
in your code if you are using libcxx 16, see robotology/robotology-superbuild#1375 (comment) - Pin libcxx to <16, i.e. `mamba install "libcxx<16".
from boost-cpp-feedstock.
On Azure DevOps libcxx<16 is used to create the ## Package Plan ##
but then the environment is reloaded and libcxx:16.0.0-h71dddab_0 re-installed...
from boost-cpp-feedstock.
On Azure DevOps libcxx<16 is used to create the ## Package Plan ## but then the environment is reloaded and libcxx:16.0.0-h71dddab_0 re-installed...
I am not sure to which specific case are you referring to, if you link or provide more details it is easier to help you.
from boost-cpp-feedstock.
I am not sure to which specific case are you referring to, if you link or provide more details it is easier to help you.
Sure: I have a feedstock configured to be use with $conda smithy rerender which reciepe/meta.ymel requierment part is (with the libcc requierment added):
`requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- cmake >=3.0
- make
- {{ compiler('cxx') }}
- {{ compiler('c') }}
host:
- python
- libcxx<16
- boost
- elements ==6.1.2
- cfitsio >=3.470
- CCfits >=2.5
run:
- {{ pin_compatible('python', min_pin='x.x', max_pin='x.x') }}
- {{ pin_compatible('boost', min_pin='x.x', max_pin='x.x') }}
- {{ pin_compatible('cfitsio', min_pin='x.x', max_pin='x.x') }}
- {{ pin_compatible('CCfits', min_pin='x.x', max_pin='x.x') }}
`
in the pipeline runs for osx (linux is going smoothly) I got a list of package to be installed which contains
`
boost: 1.78.0-py39h6dc771e_4 conda-forge
boost-cpp: 1.78.0-h8b082ac_1 conda-forge
libcxx: 15.0.7-h71dddab_0 conda-forge
`
then after executing the transaction if specify again "The following NEW packages will be INSTALLED:" and this time appears:
libcxx: 16.0.0-h71dddab_0 conda-forge
and of course the build failed due to
#include <boost/program_options.hpp>
from boost-cpp-feedstock.
I have tried to define _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY
The build command is:
$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-clang++ -DBOOST_FILESYSTEM_VERSION=3 -DELEMENTS_DEFAULT_LOGLEVEL=DEBUG -DNDEBUG -D_GNU_SOURCE -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY -Df2cFortran -I$SRC_DIR/build/AlexandriaKernel -I$SRC_DIR/AlexandriaKernel -I$SRC_DIR/build/include -I$SRC_DIR -isystem /opt/local/include/llvm140/c++ -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/alexandria-2.28.4 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -std=c++17 -stdlib=libc++ -Wno-deprecated -Wno-overloaded-virtual -Wno-char-subscripts -Wno-unused-parameter -Qunused-arguments -O3 -DNDEBUG -isysroot /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.9 -MD -MT AlexandriaKernel/CMakeFiles/AlexandriaVersion.dir/src/program/AlexandriaVersion.cpp.o -MF CMakeFiles/AlexandriaVersion.dir/src/program/AlexandriaVersion.cpp.o.d -o CMakeFiles/AlexandriaVersion.dir/src/program/AlexandriaVersion.cpp.o -c $SRC_DIR/AlexandriaKernel/src/program/AlexandriaVersion.cpp
but I got the same crash
from boost-cpp-feedstock.
then after executing the transaction
Which transactions? Probably you also need to add "libcxx<16" there? Can you just link the feedstock?
from boost-cpp-feedstock.
OK eventually I got it working: the key put in everywhere:
`requirements:
build:
(...)
- libcxx<16
host:
(...)
- libcxx<16
run:
(...)
- {{ pin_compatible('libcxx', min_pin='x.x', max_pin='x.x') }}
`
from boost-cpp-feedstock.
I tought backporting the fix in 1.78.0, but from #130 it seems that due to ABI breakage we cannot backport stuff to 1.78.0 .
You can rebuild that branch without upgrading the compiler. Then we don't have to worry about ABI breakage.
Thanks, I did not tought of that, #135 does that.
from boost-cpp-feedstock.
Related Issues (20)
- find_package(Boost CONFIG REQUIRED) fails with CMake's CMP0057 related error if cmake_minimum_required is <= 3.2 HOT 5
- @conda-forge-admin update team HOT 1
- Issue with latest build HOT 8
- Adding Boost.MPI variants HOT 9
- Latest builds do not have zlib enabled HOT 5
- @conda-forge-admin, please re-render HOT 1
- Drop MPI headers HOT 4
- boost consolidation/harmonization HOT 21
- Static libraries for boost-cpp HOT 1
- Symbols' exposure in Windows' shared library as distributed by boost-cpp HOT 1
- @conda-forge-admin update version HOT 1
- Is there a way to install a boost header only package? HOT 11
- Creating a libboost-headers only package from existing recipe fails HOT 2
- @conda-forge-admin, please update version HOT 2
- This is now archived
- boost_zlib is missing from Windows build? HOT 10
- @conda-forge-admin, please re-render HOT 1
- make a boost-cpp 1.72 branch HOT 3
- package variant without header files? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boost-cpp-feedstock.