Skip to content

Basic support for FreeBSD #698

Closed

Description

@seisman

Description of the desired feature

Although FreeBSD is not as popular as Linux/macOS/Windows, there are still some FreeBSD + GMT users (see https://forum.generic-mapping-tools.org/t/building-gmt-on-freebsd-12-1-release/967), and they're also potential PyGMT users.

As I understand it, sys.platform will return freebsdX on FreeBSD X, thus function clib_names will report an error:

Operating system "freebsdx" not supported.

What we can do is:

  1. Confirm the return value of sys.platform on FreeBSD (freebsdX if I understand the docs correctly)
  2. Confirm the suffix of shared libraries on FreeBSD (.so based on search results)
  3. Add an if test for freebsd

For points 1 and 2, we may ask for some help in this post https://forum.generic-mapping-tools.org/t/967.

We won't have a CI job testing FreeBSD, but at least we can provide some basic support.

Are you willing to help implement and maintain this feature? Yes, but we need more inputs from FreeBSD users.

Activity

  1. added
    help wanted
    on Nov 18, 2020
  2. weiji14 commented on Nov 18, 2020

    @weiji14
    Member

    We won't have a CI job testing FreeBSD, but at least we can provide some basic support.

    Seems like Travis CI has experimental FreeBSD support according to https://travis-ci.community/t/freebsd-vms-support/2125 (see https://travis-ci.com/github/travis-ci/cpython-builder/jobs/377800347/config for an example). So it is possible to test it 🙂

  3. seisman commented on Nov 18, 2020

    @seisman
    MemberAuthor

    Don't want to add Travis CI back, and conda-forge may NOT support FreeBSD (conda/conda#61).

  4. weiji14 commented on Nov 18, 2020

    @weiji14
    Member

    Yeah, but maybe we should at least run our full test suite at least once on FreeBSD somehow. Either we do it through (Travis) CI, set up a FreeBSD Virtual Machine (e.g. via QEMU) or have a FreeBSD user test things.

  5. added
    feature request
    on Nov 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requesthelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions