git: 743c81d6e447 - main - science/py-tensorflow: Enable the option JOBS_HALF in an attempt to fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 May 2023 18:56:33 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=743c81d6e447fb36d012711161bc39e74352e3e8
commit 743c81d6e447fb36d012711161bc39e74352e3e8
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-05-28 17:49:33 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-05-28 18:56:17 +0000
science/py-tensorflow: Enable the option JOBS_HALF in an attempt to fix build
Tensorflow build is killed on builders with signal 9 probably because it builds too long.
With JOBS_HALF=ON it would use more CPUs and would build faster.
Reported by: fallout
---
science/py-tensorflow/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/science/py-tensorflow/Makefile b/science/py-tensorflow/Makefile
index 11ff57256aaa..bc24f273ad1e 100644
--- a/science/py-tensorflow/Makefile
+++ b/science/py-tensorflow/Makefile
@@ -75,7 +75,7 @@ OPTIONS_DEFINE= CPU_OPTS XLA
OPTIONS_RADIO= PARALLEL_JOBS
OPTIONS_RADIO_PARALLEL_JOBS= JOBS_1 JOBS_HALF JOBS_ALL
PARALLEL_JOBS_DESC= How many jobs to run during build?
-OPTIONS_DEFAULT= JOBS_1
+OPTIONS_DEFAULT= JOBS_HALF
JOBS_1_DESC= Run one job
JOBS_1_VARS= TF_JOBS_NUMBER=1