Closed xiongyang closed 2 months ago
This:
[using zstd : : "/home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d486e9526561ab9c9986e/include" "/home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d487e9526561ab9c9986e/lib" libzstd ;]
doesn't look correct. Try this:
using zstd
:
: <include>"/home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d486e9526561ab9c9986e/include"
<search>"/home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d487e9526561ab9c9986e/lib"
;
Note: formatting is not important, I added it for clarity.
actucally I add it as using zstd : : \<include>"/home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d486e9526561ab9c9986e/include" \<search>"/home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d486e9526561ab9c9986e/lib" \<name>libzstd ;
the origin post do not display \< > tags after you post I try remove the \<name> tag, and now it works using zstd : : \<include>"/home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d486e9526561ab9c9986e/include" \<search>"/home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d486e9526561ab9c9986e/lib ;"
Environment and version details
b2 --debug-configuration
in your project.Brief problem description
I place using zstd in project-config.jam try to build boost.iostreams with zstd enable. but it does not detect zstd here is the using. [using zstd : :"/home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d486e9526561ab9c9986e/include" "/home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d487e9526561ab9c9986e/lib" libzstd ;]
Steps to reproduce the issue
tar xf boost_1_84_0.tar.bz2 cd boost_1_84_0 ./bootstrap.sh add using zstd : :"/home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d486e9526561ab9c9986e/include" "/home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d486e9526561ab9c9986e/lib" libzstd ;
to the project-config.jam
run ./b2 --reconfigure
Actual behavior summary
it dected zstd as
Expected behavior summary
I think it should detect zstd right. the output of path [sr@iZ8vb1c8z4g9x2ge3hej9xZ boost_1_84_0]$ ls -l /home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d486e9526561ab9c9986e/lib total 944 -rw-rw-r-- 1 sr sr 958834 Jun 7 18:36 libzstd.a drwxrwxr-x 2 sr sr 4096 Jun 7 18:36 pkgconfig [sr@iZ8vb1c8z4g9x2ge3hej9xZ boost_1_84_0]$ ls -l /home/sr/pkgs/z/zstd/v1.5.5/1b70c2144c9d486e9526561ab9c9986e/include total 204 -rw-rw-r-- 1 sr sr 26433 Jun 7 18:36 zdict.h -rw-rw-r-- 1 sr sr 4532 Jun 7 18:36 zstd_errors.h -rw-rw-r-- 1 sr sr 171378 Jun 7 18:36 zstd.h