On Aug 5, 2022, at 17:45, Mark Brethen wrote:
> Note that the pre-build approach is overriding the makefile cflags, makefile
> was patched to cflags += , etc. How do I prevent this?
Setting variables like CFLAGS as arguments (e.g. build.args) overrides anything
specified in the Makefile. That's
So, moving from a post-patch CFLAGS, etc to a pre-build build.args CalculiX now does not build. So I compared them.Post-Patch::info:build Executing: cd "/opt/local/var/macports/build/_Users_marbre_ports_cad_CalculiX-ccx/CalculiX-ccx/work/ccx_2.18/src" && /usr/bin/make -j1 -w :debug:build system:
On Aug 5, 2022, at 14:32, Mark Brethen wrote:
>
> pre-build {
> set cflags "${configure.cflags} [get_canonical_archflags cc]"
> set ldflags "${configure.ldflags} [get_canonical_archflags ld]"
>
> # workaround for Rank mismatch between actual argument
> set ver [regsub -all {[
Need to build spooles library before CalculiX-ccx:
pre-build {
set cflags "${configure.cflags} [get_canonical_archflags cc]"
set ldflags "${configure.ldflags} [get_canonical_archflags ld]"
# workaround for Rank mismatch between actual argument
set ver [regsub -all {[[:alpha:]
> On 30 Jul 2022, at 5:11 pm, Mark Brethen wrote:
>
> Now that I think about it, a subport would not work since the ccx makefile
> expects spooles.a in its workpath.
No, it would still be perfectly fine. Just make the subport a build dependency,
and then pre-build just copy the static libra
Now that I think about it, a subport would not work since the ccx makefile
expects spooles.a in its workpath.
Mark Brethen
mark.bret...@gmail.com
> On Jul 30, 2022, at 11:01 AM, Mark Brethen wrote:
>
> For the basic installation of CalculiX-ccx the library spooles.a with the
> single- and
For the basic installation of CalculiX-ccx the library spooles.a with the
single- and multi-threading (MT) routines of SPOOLES is required. Currently I
have defined a pre-build phase for spooles, although a subport could work.There
are some entries in its makefile that will need to be patched: