Skip to content
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

fix architecture matching and fileformat #177

Merged
merged 59 commits into from Mar 1, 2018
Merged

fix architecture matching and fileformat #177

merged 59 commits into from Mar 1, 2018

Conversation

umlaeute
Copy link
Contributor

this WIP is intended to get the architecture strings right and to unify the file-format

architecture string:

  • Operating System
  • CPU
  • floatsize

e.g. Darwin-arm64-32 is a binary for macOS running on arm64 (the 64bit version of ARM) with a Pd-float-size of 32bits.

arch-string deken cmdline tool

file(name) format

  • ZIP format (on all platforms)
  • .dek extension
  • format: ${library}[${version}](${arch})(${arch}...).dek (see get the architecture strings right #161)
    e.g. bandlimited[v1.0.0](Darwin-i386-32)(Darwin-x86_64-32)(Linux-amd64-32).dek
  • ...
  • TODO: a consistent filename for the object-list files

plugin support

  • be strict with the floatsize when considering a .dek file (as opposed to
  • ...

@umlaeute umlaeute self-assigned this Feb 17, 2018
umlaeute and others added 24 commits February 17, 2018 23:24
(they are included in the build matrix anyhow)
which adds decorations to make it easier readable for humans.
e.g. "32bit" resp "float32" instead of just "32"
currently fails if version is missing, e.g. "library(arch).dek"
thin wrapper around "zip-dir"
as we don't want libraries to end up in "/[1.23]/" dirctories...
umlaeute and others added 25 commits February 22, 2018 10:30
so in the filename they show up as e.g. "[v3.14]"
this allows us to add more specifiers later...
e.g. "[v3.14]"

other options are simply ignored.
if multiple versions are given, we just take the last one
and print the value.

sigh...
@umlaeute umlaeute merged commit 3b7202d into master Mar 1, 2018
@umlaeute umlaeute deleted the dek branch March 4, 2018 19:36
@umlaeute umlaeute changed the title [WIP] fix architecture matching and fileformat fix architecture matching and fileformat Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant