8130039e | 02-Mar-2024 |
Konrad Sztyber <konrad.sztyber@intel.com> |
build: don't create symlinks inside isa-l dirs
For some reason, isa-l doesn't put its headers under isa-l directory in its repo, but installs them that way (e.g. include/crc.h gets installed as isa-
build: don't create symlinks inside isa-l dirs
For some reason, isa-l doesn't put its headers under isa-l directory in its repo, but installs them that way (e.g. include/crc.h gets installed as isa-l/crc.h). So, to make the #includes work, we used to put a symlink inside the isa-l repo called "isa-l" that would point to the directory with the headers. It worked, but caused the isa-l directory to always show up as having untracked content in git, which is a pain.
Instead, the symlink is now moved inside the isalbuild directory and isalbuild is added to our include paths. All of the above also applies to isa-l-crypto, as it used to work identically.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I22110f61b253bbdf0bbea2fbe3b533cb56d8632b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22123 Reviewed-by: Michal Berger <michal.berger@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <ben@nvidia.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
662f70fd | 10-Jan-2024 |
Ben Walker <ben@nvidia.com> |
dpdk: Tell DPDK whether to build static or shared libraries
The DPDK build system ignores this, so it always builds both. But at least if they were to fix it we'd be telling them the right thing.
C
dpdk: Tell DPDK whether to build static or shared libraries
The DPDK build system ignores this, so it always builds both. But at least if they were to fix it we'd be telling them the right thing.
Change-Id: I94d2a974aa6ad907f7f6d19f850741de35782c83 Signed-off-by: Ben Walker <ben@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21387 Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
6c0da146 | 14-Dec-2022 |
Krzysztof Karas <krzysztof.karas@intel.com> |
DPDK: use -Ddisable_apps option
Reduce build time and size by passing -Ddisable_apps. This option will be used instead of pushing a backport to DPDK fork that would manually disable app building.
T
DPDK: use -Ddisable_apps option
Reduce build time and size by passing -Ddisable_apps. This option will be used instead of pushing a backport to DPDK fork that would manually disable app building.
Tested on DPDK 22.07 and DPDK 22.11.1.
Change-Id: I94df5550315567f6dbd72d354f733fe5126c5930 Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15929 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
544a8fe5 | 14-Dec-2022 |
Jim Harris <james.r.harris@intel.com> |
build, config: add CONFIG_HAVE_LIBARCHIVE
Always add -larchive to DPDK static link args if libarchive is available. This is less fragile than previous mechanism of trying to remove RTE_HAS_LIBARCHI
build, config: add CONFIG_HAVE_LIBARCHIVE
Always add -larchive to DPDK static link args if libarchive is available. This is less fragile than previous mechanism of trying to remove RTE_HAS_LIBARCHIVE to keep DPDK from trying to use it.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ib26fc204927d8967b98d416373fc91446169d5af Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15951 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
25ac67f1 | 14-Dec-2022 |
Jim Harris <james.r.harris@intel.com> |
build, config: set CONFIG_HAVE_LIBBSD when libbsd available
Previously we would only set this if we detected that the DPDK specified using --with-dpdk required it. When using the DPDK submodule, we
build, config: set CONFIG_HAVE_LIBBSD when libbsd available
Previously we would only set this if we detected that the DPDK specified using --with-dpdk required it. When using the DPDK submodule, we would always strip RTE_USE_LIBBSD to keep DPDK from trying to use it. This is fragile and unnecessarily complex though - if libbsd exists, just always add -lbsd to the link line.
Next patch will do the same for libarchive.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I94dd792b392c23a705dead47947b33d899db8f4f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15950 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: John Levon <levon@movementarian.org>
show more ...
|