janestreet / re2

OCaml bindings for RE2
MIT License
43 stars 19 forks source link

Support for ARM (armv7l) #32

Open vitalydolgov opened 2 years ago

vitalydolgov commented 2 years ago

Are there any plans for ARM support, particularly armv7l? It seems, there is no configuration available, for example, this happens on Raspberry Pi 4:

$ opam install re2
[ERROR] Package conflict!
  * No agreement on the version of ocaml:
    - (invariant) → ocaml >= 4.05.0
    You can temporarily relax the switch invariant with `--update-invariant'
  * No agreement on the version of ocaml:
    - (invariant) → ocaml >= 4.05.0
  * No agreement on the version of ocaml:
    - (invariant) → ocaml >= 4.05.0
    - re2 → ocaml < 4.03
  * No agreement on the version of ocaml:
    - (invariant) → ocaml >= 4.05.0
    - re2 → ocaml >= 4.00.0
  * No agreement on the version of core:
    - re2 → core
    - re2 → core = 111.06.00
  * No agreement on the version of pa%5founit:
    - re2 → pa_ounit
  * Missing dependency:
    - re2 → ocaml < 4.03 → ocaml-base-compiler < 3.07+1 | ocaml-system < 3.07+1 | ocaml-variants < 3.8~
    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'
    unmet availability conditions: 'sys-ocaml-version = "3.07"'
    no matching version
  * Missing dependency:
    - re2 → ocaml < 4.03 → ocaml-base-compiler = 3.07+1 | ocaml-system = 3.07+1 | ocaml-variants < 3.8~
    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'
    unmet availability conditions: 'sys-ocaml-version = "3.07+1"'
    no matching version
  * Missing dependency:
    - re2 → ocaml < 4.03 → ocaml-base-compiler = 3.07+2 | ocaml-system = 3.07+2 | ocaml-variants < 3.8~
    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'
    unmet availability conditions: 'sys-ocaml-version = "3.07+2"'
    no matching version
  * Missing dependency:
    - re2 → ocaml < 4.03 → ocaml-base-compiler = 3.08.0 | ocaml-system < 3.08.1~ | ocaml-variants < 3.08.1~
    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'
    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.0"'
    no matching version
  * Missing dependency:
    - re2 → ocaml < 4.03 → ocaml-base-compiler = 3.08.1 | ocaml-system < 3.08.2~ | ocaml-variants < 3.08.2~
    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'
    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.1"'
    no matching version
  * Missing dependency:
    - re2 → ocaml < 4.03 → ocaml-base-compiler = 3.08.2 | ocaml-system < 3.08.3~ | ocaml-variants < 3.08.3~
    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'
    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.2"'
    no matching version
  * Missing dependency:
    - re2 → ocaml < 4.03 → ocaml-base-compiler = 3.08.3 | ocaml-system < 3.08.4~ | ocaml-variants < 3.08.4~
    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'
    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.3"'
    no matching version
  * Missing dependency:
    - re2 → ocaml < 4.03 → ocaml-base-compiler = 3.08.4 | ocaml-system < 3.08.5~ | ocaml-variants < 3.08.5~
    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'
    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.4"'
    no matching version
  * Missing dependency:
    - re2 → ocaml < 4.03 → ocaml-base-compiler = 3.09.0 | ocaml-system < 3.09.1~ | ocaml-variants < 3.09.1~
    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'
    unmet availability conditions, e.g. 'sys-ocaml-version = "3.09.0"'
    no matching version

No solution found, exiting
dwang20151005 commented 2 years ago

Unfortunately, we don't support ARM ourselves. See #26. If you fix the problem yourself, though, please send us a pull request.

Sorry for the long delay. I was out until recently.

On Fri, Jan 7, 2022 at 1:20 PM Vitaly Dolgov @.***> wrote:

Are there any plans for ARM support, particularly armv7l? It seems, there is no configuration available, for example, this happens on Raspberry Pi 4:

$ opam install re2

[ERROR] Package conflict!

  • No agreement on the version of ocaml:

    • (invariant) → ocaml >= 4.05.0

    You can temporarily relax the switch invariant with `--update-invariant'

  • No agreement on the version of ocaml:

    • (invariant) → ocaml >= 4.05.0
  • No agreement on the version of ocaml:

    • (invariant) → ocaml >= 4.05.0

    • re2 → ocaml < 4.03

  • No agreement on the version of ocaml:

    • (invariant) → ocaml >= 4.05.0

    • re2 → ocaml >= 4.00.0

  • No agreement on the version of core:

    • re2 → core

    • re2 → core = 111.06.00

  • No agreement on the version of pa%5founit:

    • re2 → pa_ounit
  • Missing dependency:

    • re2 → ocaml < 4.03 → ocaml-base-compiler < 3.07+1 | ocaml-system < 3.07+1 | ocaml-variants < 3.8~

    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'

    unmet availability conditions: 'sys-ocaml-version = "3.07"'

    no matching version

  • Missing dependency:

    • re2 → ocaml < 4.03 → ocaml-base-compiler = 3.07+1 | ocaml-system = 3.07+1 | ocaml-variants < 3.8~

    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'

    unmet availability conditions: 'sys-ocaml-version = "3.07+1"'

    no matching version

  • Missing dependency:

    • re2 → ocaml < 4.03 → ocaml-base-compiler = 3.07+2 | ocaml-system = 3.07+2 | ocaml-variants < 3.8~

    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'

    unmet availability conditions: 'sys-ocaml-version = "3.07+2"'

    no matching version

  • Missing dependency:

    • re2 → ocaml < 4.03 → ocaml-base-compiler = 3.08.0 | ocaml-system < 3.08.1~ | ocaml-variants < 3.08.1~

    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'

    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.0"'

    no matching version

  • Missing dependency:

    • re2 → ocaml < 4.03 → ocaml-base-compiler = 3.08.1 | ocaml-system < 3.08.2~ | ocaml-variants < 3.08.2~

    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'

    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.1"'

    no matching version

  • Missing dependency:

    • re2 → ocaml < 4.03 → ocaml-base-compiler = 3.08.2 | ocaml-system < 3.08.3~ | ocaml-variants < 3.08.3~

    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'

    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.2"'

    no matching version

  • Missing dependency:

    • re2 → ocaml < 4.03 → ocaml-base-compiler = 3.08.3 | ocaml-system < 3.08.4~ | ocaml-variants < 3.08.4~

    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'

    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.3"'

    no matching version

  • Missing dependency:

    • re2 → ocaml < 4.03 → ocaml-base-compiler = 3.08.4 | ocaml-system < 3.08.5~ | ocaml-variants < 3.08.5~

    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'

    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.4"'

    no matching version

  • Missing dependency:

    • re2 → ocaml < 4.03 → ocaml-base-compiler = 3.09.0 | ocaml-system < 3.09.1~ | ocaml-variants < 3.09.1~

    unmet availability conditions: 'arch != "arm64" & arch != "arm32" & arch != "ppc64"'

    unmet availability conditions, e.g. 'sys-ocaml-version = "3.09.0"'

    no matching version

No solution found, exiting

— Reply to this email directly, view it on GitHub https://github.com/janestreet/re2/issues/32, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSJX7BG5U7VUAWQGKJOETDUU4VFXANCNFSM5LPLJLPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>