From nobody Tue Oct 18 10:06:39 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ms8fH5m0Lz4f77L for ; Tue, 18 Oct 2022 10:06:47 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl3.internode.on.net (ipmail06.adl3.internode.on.net [150.101.137.16]) by mx1.freebsd.org (Postfix) with ESMTP id 4Ms8fG2pj4z3wKT; Tue, 18 Oct 2022 10:06:46 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) X-SMTP-MATCH: 0 IronPort-Data: =?us-ascii?q?A9a23=3AjDTW16sCb5KhDshlqLg/v0bBEefnVLdcMUV32?= =?us-ascii?q?f8akzHdYApBsoF/qtZmKWjXMquNazOjLtAnO4u2oRhSsZ7Rz4RlSANv/no1E?= =?us-ascii?q?SpD95OaWtiXJx/+Mn7LdZLKRhxpsJVFY4GfIJs/RSSC+kqEP+m6pxGQ94nRF?= =?us-ascii?q?uKmUrKs1gOd5ONcpZRIZStLw4bVv6Yx6TSHK1PV0T/Ni5W31G+Ng1aYA0pMg?= =?us-ascii?q?06xgEoHUMfa4Fv0imcDicVj5zcyoZW04KU3fsldJ1OgKmVd83XTq+zrlNlV9?= =?us-ascii?q?UuBl/sh50/Mr1r1TqEKaua60QmmjndfV6W4xBxFrSU2uko5HKBEMgEO0W/Px?= =?us-ascii?q?YspjowU3XCzYV5B0qnktv4QXjNjPwllPaRA9aDOO3X5u82Bp6HDWye3nq0yV?= =?us-ascii?q?RlnbOX0/c4nXDsXq5T0MgsldheZm/mezqi2R+N3ioIkNsaDFJ8Wpmp9zjDuC?= =?us-ascii?q?P8lQJbEa6XN+dpR3TN2jcdLdd7QY9cXZytHYg7NbhdUNhEQEp1WoQsCrhETa?= =?us-ascii?q?BVAsErP/vJyujGV1xB4zLnmdtvTZtGQQ8JZkwCfoCTA8niRP/3TD/THoRLtz?= =?us-ascii?q?55mrrancfvHZb8v?= IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AsKjiOKGLWLhdkUlHpLqE6ceALOsnbusQ8z?= =?us-ascii?q?AXPo5KJCC9Afbo8/xG+85rsiMc6QxhPU3I9urgBEDtexzhHNtOkOss1NSZLW?= =?us-ascii?q?rbUQmTQr2KhLGKqwEIWReTygc378xdmsZFYuEYQWIbsfrH?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2DNAgB6eU5j/wvmestaHAEBAQEBAQc?= =?us-ascii?q?BARIBAQQEAQFAgU+DLoYmkGguA4Qomm8LAUoJBAEBghKCLkUChG0mOBMBAgQ?= =?us-ascii?q?VAQEGAQEBAQEHBIEchWgNhkMBAQEDI1YQCw4KAgImAgJXBgEMCAEBgnkBgyA?= =?us-ascii?q?TqySBMoEBhHCFDgaBESyQM4EDgU2BPIMDPoJiBBiFHYJmBJppJgQOAxkrHUA?= =?us-ascii?q?CAQs7MwMVAxQDBSEHAxkPIw0NBBYHDAMDBSUDAgIbBwICAwIGEwUCAk00CAQ?= =?us-ascii?q?IBCskDwUCBy8FBC8CHgQFBhEIAhYCBgQEBAQVAhAIAggmFwcTGBsZAQVZDgk?= =?us-ascii?q?hHAoEGg0FBhMDIG8FCjgPKC9pKxwbB4EMKigVAwQEAwIGEwMiAg0pMRQEKRM?= =?us-ascii?q?PLQcjcQkCAyJlBQMDBCgsAwkhHwclJDwHWDsEAwIQIjwGAwkDAiJZdi8RFQU?= =?us-ascii?q?DDRclCAU3GgQIPAIFBlISAgoRAxIPBidID0o+ORYGJ0UBNg8OGgObVYIRgUE?= =?us-ascii?q?iDSFLgSKSVJAGghOdU4JPgRuLQpRrBkGpD5cZII0hnCyBfjMaIYM6UBkPlya?= =?us-ascii?q?FXW0wAgYLAQEDCYpCAQE?= Received: from ppp230-11.static.internode.on.net (HELO leader.local) ([203.122.230.11]) by ipmail06.adl3.internode.on.net with ESMTP; 18 Oct 2022 20:36:42 +1030 Subject: Re: Blender To: Dima Panov , Tatsuki Makino Cc: FreeBSD Ports References: <20221015124220.7df485d6@dismail.de> <6f526043-c67c-0261-12dd-e8c58612dc86@FreeBSD.org> <8b4ff769-9707-3ae3-7de1-1b77d9776098@FreeBSD.org> From: Shane Ambler Message-ID: Date: Tue, 18 Oct 2022 20:36:39 +1030 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 In-Reply-To: <8b4ff769-9707-3ae3-7de1-1b77d9776098@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Ms8fG2pj4z3wKT X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of FreeBSD@shaneware.biz has no SPF policy when checking 150.101.137.16) smtp.mailfrom=FreeBSD@shaneware.biz X-Spamd-Result: default: False [-1.99 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; FREEMAIL_TO(0.00)[FreeBSD.org,hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MLMMJ_DEST(0.00)[ports@freebsd.org]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[shaneware.biz]; RCPT_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 18/10/22 3:18 am, Dima Panov wrote: > > > On 17.10.2022 10:21, Tatsuki Makino wrote: >> Tatsuki Makino wrote on 2022/10/16 15:45: >>> opensubdiv-3.5.0 package was created by poudriere bulk -T. >>> However, blender-3.2.2_2 build using it failed. >>> There is a line in the log that may be caused by opensubdiv. >>> >> >> I don't know how to use OpenMP properly... >> In opensubdiv-3.5.0, OpenMP is used since NO_OMP was dropped. >> ( >> https://cgit.freebsd.org/ports/commit/graphics/opensubdiv?id=161039e32b880280cc0fb7b478bfc2a0181ba8fc >> ) >> Therefore, -fopenmp=libomp is added to all compilations. >> However, when linking libraries, it may be necessary to link some kind >> of openmp library, but there is no writing about it anywhere. >> (something like ${OpenMP_CXX_LIBRARIES}) >> So I think that if NO_OMP is not written in CMAKE_ON, it will generate >> a library that cannot be used. >> This is just a guess by me, not understanding OpenMP :) > > Blender have an options knob OPENMP to utilize it. > > By the way, I'll modify opensubdiv to make openmp support optional too > (off by defaukt) > It has been a while since I tested it, there were issues trying to get opensubdiv and blender working with openmp. Now that llvm has had openmp support for a while, this may not be the case. The TBB allows multi-cpu usage without building issues. I recall the osd examples/tests showing tbb to be a better if not equal option to omp. -- FreeBSD - the place to B...Software Developing Shane Ambler