git: 56cabbba2c64 - main - misc/py-pytorch: fix build on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Feb 2025 19:36:01 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=56cabbba2c6495cc2e0483de05d7034da9cd589a commit 56cabbba2c6495cc2e0483de05d7034da9cd589a Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-02-22 21:29:00 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-02-23 19:31:55 +0000 misc/py-pytorch: fix build on powerpc64le ld: error: undefined reference due to --no-allow-shlib-undefined: pthread_create --- misc/py-pytorch/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/py-pytorch/Makefile b/misc/py-pytorch/Makefile index bc633975fdb9..b1d806687efb 100644 --- a/misc/py-pytorch/Makefile +++ b/misc/py-pytorch/Makefile @@ -56,6 +56,7 @@ MAKE_ENV+= USE_CUDNN=0 MAKE_ENV+= USE_LAPACK=1 # needed on FreeBSD to run w/out GPU MAKE_ENV+= USE_QNNPACK=0 LDFLAGS+= -lexecinfo +LDFLAGS_powerpc64le= -pthread BINARY_ALIAS= make=${GMAKE}