-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to tag files with multiple platform binaries? #90
Comments
Hmm. We tag Can you elaborate on the use case a bit? |
This is not so common - the only example which immediately comes to mind is SNNS which I just added recently, see 82a541b and the comment. Although this release only included binaries for Linux x64, from the folder naming convention the author presumably has also included Linux 32 bit binaries as well in the past. |
Ah, just multiple architectures, then For things like scripts which are cross arch + cross platform, I think we've used |
I saw this was used for JAR files and followed this in 4d6b36e So basically use |
Yep, precisely. We could add another tag |
Although these values do appear in the filenames used on the public depot URLs... |
Concrete example, PhyML provides a ZIP file containing pre-compiled binaries for 32 bit Windows, 32 bit Linux, 64 bit Linux, and 64 bit Mac OS X: $ curl -L -O http://www.atgc-montpellier.fr/download/binaries/phyml/PhyML-3.1.zip
$ unzip PhyML-3.1.zip
Archive: /tmp/PhyML-3.1.zip
creating: PhyML-3.1/
inflating: PhyML-3.1/PhyML-3.1_linux32
inflating: PhyML-3.1/PhyML-3.1_linux64
inflating: PhyML-3.1/PhyML-3.1_macOS-MountainLion
inflating: PhyML-3.1/PhyML-3.1_manual.pdf
inflating: PhyML-3.1/PhyML-3.1_win32.exe
inflating: PhyML-3.1/README
inflating: PhyML-3.1/phyml.bat
$ file PhyML-3.1/PhyML-3.1_linux32
PhyML-3.1/PhyML-3.1_linux32: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
$ file PhyML-3.1/PhyML-3.1_linux64
PhyML-3.1/PhyML-3.1_linux64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, not stripped
$ file PhyML-3.1/PhyML-3.1_win32.exe
PhyML-3.1/PhyML-3.1_win32.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit
$ file PhyML-3.1/PhyML-3.1_macOS-MountainLion
PhyML-3.1/PhyML-3.1_macOS-MountainLion: Mach-O 64-bit executable x86_64
$ ./PhyML-3.1/PhyML-3.1_macOS-MountainLion --version
. This is PhyML version 20120412.
|
We could add a |
No description provided.
The text was updated successfully, but these errors were encountered: