conda-forge / highfive-feedstock Goto Github PK
View Code? Open in Web Editor NEWA conda-smithy repository for highfive.
License: BSD 3-Clause "New" or "Revised" License
A conda-smithy repository for highfive.
License: BSD 3-Clause "New" or "Revised" License
When I install HighFive on my macos M2 and I try to use it for another project, I have the following error at compilation time
ninja: error: '/Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/lib/libpthread.tbd', needed by 'demos/FiniteVolume/finite-volume-amr-burgers-hat', missing and no known rule to make it
If I take a look at the generated file HighFiveTargets.cmake
which is installed with the conda package, I have
# Create imported target HighFive_libdeps
add_library(HighFive_libdeps INTERFACE IMPORTED)
set_target_properties(HighFive_libdeps PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "_FORTIFY_SOURCE=2;HIGHFIVE_HAS_CONCEPTS=\$<BOOL:ON>"
INTERFACE_INCLUDE_DIRECTORIES "/Users/loic/mambaforge/envs/samurai-test/include"
INTERFACE_LINK_LIBRARIES "/Users/loic/mambaforge/envs/samurai-test/lib/libhdf5.dylib;/Users/loic/mambaforge/envs/samurai-test/lib/libcrypto.dylib;/Users/loic/mambaforge/envs/samurai-test/lib/libcurl.dylib;/Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/lib/libpthread.tbd;/Users/loic/mambaforge/envs/samurai-test/lib/libsz.dylib;/Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/lib/libz.tbd;/Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/lib/libdl.tbd;/Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/lib/libm.tbd"
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "/Users/loic/mambaforge/envs/samurai-test/include"
)
But if I try to install HighFive manually in the same mamba environment, I have
# Create imported target HighFive_libdeps
add_library(HighFive_libdeps INTERFACE IMPORTED)
set_target_properties(HighFive_libdeps PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "HIGHFIVE_HAS_CONCEPTS=\$<BOOL:ON>;BOOST_ALL_NO_LIB;H5_USE_BOOST"
INTERFACE_INCLUDE_DIRECTORIES "/Users/loic/mambaforge/envs/samurai-test/include;/Users/loic/mambaforge/envs/samurai-test/include"
INTERFACE_LINK_LIBRARIES "/Users/loic/mambaforge/envs/samurai-test/lib/libhdf5.dylib"
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "/Users/loic/mambaforge/envs/samurai-test/include;/Users/loic/mambaforge/envs/samurai-test/include"
)
and the compilation of my other project works as expected.
So, for me, there are deps that come from the recipe build and that shouldn't be present in the package installation.
bzip2 1.0.8 h93a5062_5 conda-forge
c-ares 1.23.0 h93a5062_0 conda-forge
ca-certificates 2023.11.17 hf0a4a13_0 conda-forge
cli11 2.3.2 hb7217d7_0 conda-forge
cmake 3.28.1 h50fd54c_0 conda-forge
fmt 10.1.1 h6aa02a4_1 conda-forge
hdf5 1.14.3 nompi_h5bb55e9_100 conda-forge
highfive 2.8.0 h6b7ef73_0 conda-forge
krb5 1.21.2 h92f50d5_0 conda-forge
libaec 1.1.2 h13dd4ca_1 conda-forge
libcurl 8.5.0 h2d989ff_0 conda-forge
libcxx 16.0.6 h4653b0c_0 conda-forge
libedit 3.1.20191231 hc8eb9b7_2 conda-forge
libev 4.33 h93a5062_2 conda-forge
libexpat 2.5.0 hb7217d7_1 conda-forge
libgfortran 5.0.0 13_2_0_hd922786_1 conda-forge
libgfortran5 13.2.0 hf226fd6_1 conda-forge
libnghttp2 1.58.0 ha4dd798_1 conda-forge
libssh2 1.11.0 h7a5bd25_0 conda-forge
libuv 1.46.0 hb547adb_0 conda-forge
libzlib 1.2.13 h53f4e23_5 conda-forge
llvm-openmp 17.0.6 hcd81f8e_0 conda-forge
ncurses 6.4 h463b476_2 conda-forge
ninja 1.11.1 hffc8910_0 conda-forge
openssl 3.2.0 h0d3ecfb_1 conda-forge
pugixml 1.14 h13dd4ca_0 conda-forge
rhash 1.4.4 hb547adb_0 conda-forge
xtensor 0.24.7 h1995070_0 conda-forge
xtl 0.7.6 h6aa02a4_0 conda-forge
xz 5.2.6 h57fd34a_0 conda-forge
zstd 1.5.5 h4f39d0f_0 conda-forge
mamba version : 1.4.7
active environment : samurai-test
active env location : /Users/loic/mambaforge/envs/samurai-test
shell level : 1
user config file : /Users/loic/.condarc
populated config files : /Users/loic/mambaforge/.condarc
/Users/loic/.condarc
conda version : 22.9.0
conda-build version : not installed
python version : 3.10.6.final.0
virtual packages : __osx=13.0.1=0
__unix=0=0
__archspec=1=arm64
base environment : /Users/loic/mambaforge (writable)
conda av data dir : /Users/loic/mambaforge/etc/conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
https://conda.anaconda.org/conda-forge/noarch
package cache : /Users/loic/mambaforge/pkgs
/Users/loic/.conda/pkgs
envs directories : /Users/loic/mambaforge/envs
/Users/loic/.conda/envs
platform : osx-arm64
user-agent : conda/22.9.0 requests/2.28.1 CPython/3.10.6 Darwin/22.1.0 OSX/13.0.1
UID:GID : 501:20
netrc file : None
offline mode : False
Issue:
I'm getting the following link error, which seems to be reminiscent of the build of highfive itself??
make[2]: *** No rule to make target '/home/conda/feedstock_root/build_artifacts/highfive_1574264233427/_build_env/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib/librt.so', needed by 'Run'. Stop
conda list
):
$ conda list
# packages in environment at /home/tdegeus/miniconda3/envs/code_mean-field:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
boost 1.70.0 py38h9de70de_1 conda-forge
boost-cpp 1.70.0 h8e57a91_2 conda-forge
bzip2 1.0.8 h516909a_1 conda-forge
ca-certificates 2019.11.28 hecc5488_0 conda-forge
certifi 2019.11.28 py38_0 conda-forge
click 7.0 py_0 conda-forge
cmake 3.15.5 hf94ab9c_0 conda-forge
curl 7.65.3 hf8cf82a_0 conda-forge
docopt 0.6.2 py_1 conda-forge
docopt.cpp 0.6.2 hc9558a2_0 conda-forge
expat 2.2.5 he1b5a44_1004 conda-forge
fmt 6.0.0 hc9558a2_2 conda-forge
gooseslurm 0.1.1 py38_0 conda-forge
h5py 2.10.0 nompi_py38h513d04c_100 conda-forge
hdf5 1.10.5 nompi_h3c11f04_1104 conda-forge
highfive 2.1.1 h603aa1e_1 conda-forge
icu 64.2 he1b5a44_1 conda-forge
krb5 1.16.3 h05b26f9_1001 conda-forge
lapack 3.6.1 ha44fe06_2 conda-forge
ld_impl_linux-64 2.33.1 h53a641e_7 conda-forge
libblas 3.8.0 14_openblas conda-forge
libcblas 3.8.0 14_openblas conda-forge
libcurl 7.65.3 hda55be3_0 conda-forge
libedit 3.1.20170329 hf8c457e_1001 conda-forge
libffi 3.2.1 he1b5a44_1006 conda-forge
libgcc-ng 9.2.0 hdf63c60_0 conda-forge
libgfortran 3.0.0 1 conda-forge
libgfortran-ng 7.3.0 hdf63c60_2 conda-forge
liblapack 3.8.0 14_openblas conda-forge
libopenblas 0.3.7 h6e990d7_3 conda-forge
libssh2 1.8.2 h22169c7_2 conda-forge
libstdcxx-ng 9.2.0 hdf63c60_0 conda-forge
libuv 1.33.1 h516909a_0 conda-forge
make 4.2.1 h14c3975_2004 conda-forge
ncurses 6.1 hf484d3e_1002 conda-forge
numpy 1.17.3 py38h95a1406_0 conda-forge
openblas 0.3.7 h6e990d7_3 conda-forge
openssl 1.1.1d h516909a_0 conda-forge
parallel 20191122 0 conda-forge
perl 5.26.2 h516909a_1006 conda-forge
pip 19.3.1 py38_0 conda-forge
python 3.8.0 h357f687_5 conda-forge
readline 8.0 hf8c457e_0 conda-forge
rhash 1.3.6 h14c3975_1001 conda-forge
setuptools 42.0.1 py38_0 conda-forge
six 1.13.0 py38_0 conda-forge
sqlite 3.30.1 hcee41ef_0 conda-forge
tk 8.6.10 hed695b0_0 conda-forge
wheel 0.33.6 py38_0 conda-forge
xsimd 7.4.2 hc9558a2_0 conda-forge
xtensor 0.20.10 hc9558a2_0 conda-forge
xtl 0.6.8 hc9558a2_0 conda-forge
xz 5.2.4 h14c3975_1001 conda-forge
zlib 1.2.11 h516909a_1006 conda-forge
conda
and system ( conda info
):
$ conda info
active environment : code_mean-field
active env location : /home/tdegeus/miniconda3/envs/code_mean-field
shell level : 2
user config file : /home/tdegeus/.condarc
populated config files :
conda version : 4.7.12
conda-build version : not installed
python version : 3.7.4.final.0
virtual packages :
base environment : /home/tdegeus/miniconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/tdegeus/miniconda3/pkgs
/home/tdegeus/.conda/pkgs
envs directories : /home/tdegeus/miniconda3/envs
/home/tdegeus/.conda/envs
platform : linux-64
user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Linux/3.10.0-957.21.3.el7.x86_64 rhel/7.6 glibc/2.17
UID:GID : 177478:10532
netrc file : None
offline mode : False
I think that the decision to require and load the Boost dependency should be left to the user.
The Windows package depends on Boost, but the CMake Targets script has a Boost path coming from C:\Program Files\
rather than a Boost in Conda. This makes the HighFive unusable in find_package
on Windows. Please fix.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.