public inbox for [email protected]  
help / color / mirror / Atom feed
From: Semab Tariq <[email protected]>
To: Dave Page <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: PFA: Patch to generate universal(arm64, x86_64) binaries for macOS
Date: Mon, 2 Aug 2021 13:27:17 +0500
Message-ID: <CABimMB4QfCnMxd5a-J-VqTdWVrGR-FHSUU=-_a=GB24j3W3txg@mail.gmail.com> (raw)
In-Reply-To: <CA+OCxow3Ki8ZqhcVV0M+CewgX33sBg_kdv204AqPBAoZDnZjCQ@mail.gmail.com>
References: <CABimMB4yFJNYqOzna2H=2_sRCPwSzcUXR3j7iSK8qbivHnkgrg@mail.gmail.com>
	<CABimMB7ECK8y9sXe-p8WvJZ2ebbzeGSWKyJZEUPd2+nrv=BTng@mail.gmail.com>
	<CA+OCxow3Ki8ZqhcVV0M+CewgX33sBg_kdv204AqPBAoZDnZjCQ@mail.gmail.com>

Great, thanks for letting me know.

On Mon, Aug 2, 2021 at 1:12 PM Dave Page <[email protected]> wrote:

> Thanks, patch applied.
>
> On Mon, Aug 2, 2021 at 2:44 AM Semab Tariq <[email protected]>
> wrote:
>
>> Hi Team
>>
>> In my previous email, I attached a link to the JIRA ticket and I was
>> hoping that you can access that ticket and see the details about my patch
>> but I was unaware that JIRA is not accessible to the community so now I am
>> attaching the details here
>>
>> *Details about my patch*
>>
>> While trying to generate *pgAgent-4.2.1* universal binaries on *macOS
>> BigSur x86_64* architecture via following command
>> 1BOOST_ROOT=/tmp/PG-pgAgent PGDIR=/tmp/PG-pgAgent /Applications/CMake.app
>> /Contents/bin/cmake -DCMAKE_INSTALL_PREFIX=/tmp/PG-pgAgent -
>> DCMAKE_OSX_ARCHITECTURES:STRING="x86_64;arm64" -
>> DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.14 -DSTATIC_BUILD=NO -D
>> CMAKE_OSX_SYSROOT:FILEPATH=/Library/Developer/CommandLineTools/SDKs/
>> MacOSX11.1.sdk CMakeLists.txt
>>
>> I got this error in configure log
>> 1CMake Error at CMakeLists.txt:43 (IF): 2 if given arguments: 3 "NOT"
>> "x86_64" "arm64" "STREQUAL" "" 4 Unknown arguments specified 5--
>> Configuring incomplete, errors occurred!
>>
>> After some debugging, I found out that the
>> *pgAgent-4.2.1-Source/CMakeLists.txt* file doesn't have proper double
>> quotes around *CMAKE_OSX_ARCHITECTURES* variable inside *if* condition
>> so I added that, and now I am able to build pgAgent universal binaries
>> successfully. If you don't have any concerns with my patch can someone
>> please push the changes to the source? Thanks & Regards,
>> Semab
>>
>> On Fri, Jul 30, 2021 at 3:40 PM Semab Tariq <[email protected]>
>> wrote:
>>
>>> Hi Team
>>>
>>> Can someone please push this patch to the *master* branch of *pgAgent*
>>> repo?
>>> For more details Please refer to JIRA PPS-310
>>> <https://enterprisedb.atlassian.net/browse/PPS-310;
>>>
>>> --
>>> Thanks & Regards,
>>> Semab
>>>
>>
>>
>> --
>>
>
>
> --
> Dave Page
> Blog: https://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EDB: https://www.enterprisedb.com
>
>

-- 
Thanks & Regards,
Semab


view thread (7+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: PFA: Patch to generate universal(arm64, x86_64) binaries for macOS
  In-Reply-To: <CABimMB4QfCnMxd5a-J-VqTdWVrGR-FHSUU=-_a=GB24j3W3txg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox