<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Ah, yes. Cyclone is a bit special.</p>
    <p>At least with the CMake build system you can configure with
      "-DBUILD_SINGLE_LIBRARY=ON" and that will build Cyclone as a
      single binary. I can't see anything equivalent in the
      pd-lib-builder build system, though. You could open a feature
      request: <a class="moz-txt-link-freetext" href="https://github.com/porres/pd-cyclone">https://github.com/porres/pd-cyclone</a></p>
    <p>Christof<br>
    </p>
    <div class="moz-cite-prefix">On 26.03.2022 01:40, Philip Stone via
      Pd-list wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:BY5PR08MB642310511958AA0ACA79FDD5A71B9@BY5PR08MB6423.namprd08.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:"Segoe UI Symbol";
        panose-1:2 11 5 2 4 2 4 2 2 3;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}span.apple-converted-space
        {mso-style-name:apple-converted-space;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}div.WordSection1
        {page:WordSection1;}</style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:black;background:white">Thanks
            again, Christof. Trying that, I’m getting this result:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Segoe UI
            Symbol",sans-serif;color:black;background:white">➜</span><span
            style="color:black;background:white">  pd-cyclone-master
            make make-lib-executable=yes arch="arm64 x86_64"<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white">++++
            info: using Makefile.pdlibbuilder version 0.6.0<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white">++++
            info: using Pd API
            /Applications/Pd-0.52-1-arm64.app/Contents/Resources/src/m_pd.h<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white">++++
            info: making target all in lib cyclone<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white">pd-lib-builder/Makefile.pdlibbuilder:815:
            *** Can not build library blob because lib.setup.sources is
            undefined.  Stop.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white">I’ve
            searched for any mention of ‘lib.setup.sources’ and come up
            empty. Can anybody tell me how to set that correctly?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white">Thanks
            for your patience, all!<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white">Phil
            Stone<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white">UC
            Davis<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white">P.S.
            My system is up and running on an M1 MacBook, and it is, by
            my very rough estimate, around 3X faster than my system
            running on x86-64 Pd. That is, setups which ate nearly all
            the processor available for audio, now don’t go above 33%.
            I’m *<b>very</b>* happy, and thinking up ways to use up this
            bandwidth bonanza.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:black;background:white"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
            style="color:black;background:white">Date: Fri, 25 Mar 2022
            01:17:02 +0100</span><span style="color:black"><br>
            <span style="background:white">From: Christof Ressi <</span></span><a
            href="mailto:info@christofressi.com"
            title="mailto:info@christofressi.com" moz-do-not-send="true"><span
              style="color:#41CF9A">info@christofressi.com</span></a><span
            style="color:black;background:white">></span><span
            style="color:black"><br>
            <span style="background:white">To:<span
                class="apple-converted-space"> </span></span></span><a
            href="mailto:pd-list@lists.iem.at"
            title="mailto:pd-list@lists.iem.at" moz-do-not-send="true"><span
              style="color:#41CF9A">pd-list@lists.iem.at</span></a><span
            style="color:black"><br>
            <span style="background:white">Subject: Re: [PD] (no
              subject)</span><br>
            <span style="background:white">Message-ID: <</span></span><a
href="mailto:98e3752a-6ac1-2a05-abe1-c79375703ec2@christofressi.com"
            title="mailto:98e3752a-6ac1-2a05-abe1-c79375703ec2@christofressi.com"
            moz-do-not-send="true"><span style="color:#41CF9A">98e3752a-6ac1-2a05-abe1-c79375703ec2@christofressi.com</span></a><span
            style="color:black;background:white">></span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:black;background:white"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
            style="color:black;background:white">> Is there a way,
            using pd-lib-builder, to build the ?unified? library </span><span
            style="color:black"><br>
            <span style="background:white">> for Cyclone?</span><br>
            <br>
            <span style="background:white">Do you mean building
              everything as a single binary (instead of separate </span><br>
            <span style="background:white">binaries per object)? This
              can be done with:</span><br>
            <br>
            <span style="background:white">$ make
              make-lib-executable=yes</span><br>
            <br>
            <span style="background:white">Christof</span><br>
            <br>
            <span style="background:white">> I?m currently working
              well enough for my own needs, but I?d like to </span><br>
            <span style="background:white">> supply a deployable
              library for Deken for cyclone-darwin (including </span><br>
            <span style="background:white">> arm64), and am not sure
              how to do that.</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> Best,</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> Phil Stone</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> UC Davis</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> IOhannes wrote:</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> >On 3/24/22 15:44,
              Philip Stone via Pd-list wrote:</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> >>/Thank you for
              the pointers. Running ?make? on its own does indeed </span><br>
            <span style="background:white">> build cyclone, and since
              I?m doing it on an M1 macbook, it generates </span><br>
            <span style="background:white">> arm64 executables, and
              ?install? puts them in ~/lib/cyclone. (? - Is </span><br>
            <span style="background:white">> that right?), and they
              actually work!/</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> >>//</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> >>/However, I was
              hoping to generate fat, single-library binaries for </span><br>
            <span style="background:white">> Deken, and I thought
              CMake might make that easier. >> I will look into </span><br>
            <span style="background:white">> the necessary flags for
              doing it with ?make?./</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> //</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> >```</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> >make arch="arm64
              x86_64 i386 ppc"</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> >```</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> >leave out the
              architectures you do not want or know (and those that the</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> >compiler is not able
              to produce, which most likely includes all but the</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> >first two)</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> >mdfgasd</span><br>
            <span style="background:white">></span><br>
            <span style="background:white">> >IOhannes</span></span><o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
  </body>
</html>