Closed thammegowda closed 10 months ago
adding Threads as EXT_LIB so we can statically link.
This PR partially fixes #1011
List of changes:
set(EXT_LIBS ${EXT_LIBS} Threads::Threads)
Added dependencies: none
1) build marian on ubuntu20.04 2) scp build/marian to a machine having ubuntu22.04 3) run ./marian --help and see that marian doesnt crash!
./marian --help
Describe how you have tested your code, including OS and the cmake command.
# cpu only build cmake .. -DUSE_MPI=off -DUSE_STATIC_LIBS=on -DCOMPILE_CUDA=off -DCOMPILE_CPU=on # cuda build cmake .. -DUSE_MPI=off -DUSE_STATIC_LIBS=on -DCOMPILE_PASCAL=on -DCOMPILE_VOLTA=on -DCOMPILE_AMPERE=on -DBUILD_ARCH=x86-64
@snukky Thanks for the review. I've just updated CHANGELOG.
Description
adding Threads as EXT_LIB so we can statically link.
This PR partially fixes #1011
List of changes:
set(EXT_LIBS ${EXT_LIBS} Threads::Threads)
Added dependencies: none
How to test
1) build marian on ubuntu20.04 2) scp build/marian to a machine having ubuntu22.04 3) run
./marian --help
and see that marian doesnt crash!Describe how you have tested your code, including OS and the cmake command.
Checklist