From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: 68641@debbugs.gnu.org
Subject: [bug#68641] [PATCH 17/19] gnu: libpasastro: Use G-Expressions.
Date: Wed, 24 Jan 2024 22:19:21 +0000 [thread overview]
Message-ID: <87sf2ml6hi.fsf@gmail.com> (raw)
In-Reply-To: <cover.1705854493.git.sharlatanus@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2427 bytes --]
Hi Efraim,
Thank you for the review and feedback!
> This package compiles just fine for riscv64 so there's no reason to
> limit it to only certain architectures.
That's is a great new, I did not try to build it on any other OS or
platform. The reason I've add that flags is not a standard Makfile
coming with the project.
https://github.com/pchev/libpasastro/blob/master/Makefile
--8<---------------cut here---------------start------------->8---
all:
ifeq ($(OS_TARGET),win32)
$(MAKE) -C getdss -f Makefile.win32 all
$(MAKE) -C plan404 -f Makefile.win32 all
$(MAKE) -C wcs -f Makefile.win32 all
else
ifeq ($(OS_TARGET),win64)
$(MAKE) -C getdss -f Makefile.win64 all
$(MAKE) -C plan404 -f Makefile.win64 all
$(MAKE) -C wcs -f Makefile.win64 all
else
ifeq ($(CPU_TARGET),i386)
$(MAKE) -C getdss all arch_flags=-m32
$(MAKE) -C plan404 all arch_flags=-m32
$(MAKE) -C wcs all arch_flags=-m32
else
ifeq ($(CPU_TARGET),x86_64)
$(MAKE) -C getdss all arch_flags=-m64
$(MAKE) -C plan404 all arch_flags=-m64
$(MAKE) -C wcs all arch_flags=-m64
else
$(MAKE) -C getdss all
$(MAKE) -C plan404 all
$(MAKE) -C wcs all
endif
endif
endif
endif
clean:
ifeq ($(OS_TARGET),win32)
$(MAKE) -C getdss -f Makefile.win32 clean
$(MAKE) -C plan404 -f Makefile.win32 clean
$(MAKE) -C wcs -f Makefile.win32 clean
else
ifeq ($(OS_TARGET),win64)
$(MAKE) -C getdss -f Makefile.win64 clean
$(MAKE) -C plan404 -f Makefile.win64 clean
$(MAKE) -C wcs -f Makefile.win64 clean
else
$(MAKE) -C getdss clean
$(MAKE) -C plan404 clean
$(MAKE) -C wcs clean
endif
endif
ifeq ($(OS_TARGET),darwin)
install:
./install_darwin.sh $(PREFIX)
else
install:
./install.sh $(PREFIX) $(CPU_TARGET)
install_win:
./install_win.sh win32 $(PREFIX)
install_win64:
./install_win.sh win64 $(PREFIX)
endif
--8<---------------cut here---------------end--------------->8---
> (%current-target-system) returns i686-linux-gnu for the first one, so
> it'd probably be better to use cond and (target-x86-32?) for the first
> one.
>
> I'm not actually convinced you need any of the flags for OS_TARGET or
> CPU_TARGET (except perhaps for cross-compiling), does it make a
> difference between compiled with or without?
I would dedicate some time to figure out how to satisfy custom Makefile
to be compatible for larger range of systems available in Guix. Putting
to my TODO for 2024/02 updates.
Regards,
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2024-01-24 22:20 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-21 16:51 [bug#68641] [PATCH 00/19] gnu: Astronomy 2024/01 updates Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 01/19] gnu: stellarium: Update to 23.4 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 02/19] gnu: indi-2.0: Update to 2.0.5 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 03/19] gnu: gpredict: Update home-page and description Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 04/19] gnu: libxisf: Update to 0.2.11 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 05/19] gnu: python-crds: Update to 11.17.14 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 06/19] gnu: python-drms: Update to 0.7.1 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 07/19] gnu: python-pyvo: Update to 1.5 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 08/19] gnu: python-stcal: Update to 1.5.2 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 09/19] gnu: python-sunpy: Update to 5.1.1 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 10/19] gnu: Add python-ndcube Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 11/19] gnu: Add python-dust-extinction Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 12/19] gnu: Add python-specutils Sharlatan Hellseher
2024-01-24 14:15 ` Maxim Cournoyer
2024-01-21 16:53 ` [bug#68641] [PATCH 13/19] gnu: python-synphot: Enable more options Sharlatan Hellseher
2024-01-24 14:16 ` Maxim Cournoyer
2024-01-21 16:53 ` [bug#68641] [PATCH 14/19] gnu: python-tweakwcs: Update to 0.8.6 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 15/19] gnu: python-skyfield: Update to 1.47 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 16/19] gnu: python-stsynphot: Fix build Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 17/19] gnu: libpasastro: Use G-Expressions Sharlatan Hellseher
2024-01-24 11:58 ` Efraim Flashner
2024-01-21 16:53 ` [bug#68641] [PATCH 18/19] gnu: stackistry: " Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 19/19] gnu: libnova: " Sharlatan Hellseher
2024-01-24 14:20 ` [bug#68641] [PATCH 00/19] gnu: Astronomy 2024/01 updates Maxim Cournoyer
2024-01-24 22:19 ` Sharlatan Hellseher [this message]
2024-01-24 22:37 ` bug#68641: " Sharlatan Hellseher
2024-01-24 23:27 ` [bug#68641] " Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sf2ml6hi.fsf@gmail.com \
--to=sharlatanus@gmail.com \
--cc=68641@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).