Uploaded image for project: 'OpenShift Runtimes'
  1. OpenShift Runtimes
  2. RUN-1899

podman: make Makefile window ready or ...

    XMLWordPrintable

Details

    • RUN 241, RUN 242

    Description

      As of now, the podman makefile does not work very well on windows.  In order to work in Windows and compile a podman (remote) binary (required), we need `make podman-remote ` to work for Windows.

      At the very minimum, we should not be trying to run .sh (bash) scripts to detect anything on Windows.  If we need to detect things, a powershell script should be used.

      Brain storm:

      1. can we leave the podman-remote target but perform something like a simpler go build statement for windows.
      2. should we do something like Makefile.Windows
      3. can we NOT use make in windows?  Just rely on a powershell script which could be what Makefile.Windows is?

       

      Lots of latitude here.

       

      Extra credit:

      1. can we do something similar for `make localmachine`?  To run tests on Windows for HyperV, for example, I have to issue a massive go build command line derived from the linux make.

      Attachments

        Activity

          People

            ashley-cui Ashley Cui
            bbaude@redhat.com Brent Baude
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: