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

Windows binary #337

Open
aminya opened this issue Apr 19, 2020 · 7 comments
Open

Windows binary #337

aminya opened this issue Apr 19, 2020 · 7 comments
Assignees

Comments

@aminya
Copy link

aminya commented Apr 19, 2020

Why all of the operating systems have binaries but Windows doesn't?

50% of developers use Windows.
https://insights.stackoverflow.com/survey/2019#technology-_-platforms

83% of people use Windows.

@h5rdly
Copy link

h5rdly commented Apr 20, 2020

Not a Windows fan, but I'm working on cross-platform code, would actually be great if there were Windows binaries available for cling.

@ax3l
Copy link
Collaborator

ax3l commented Apr 25, 2020

Conda-Forge ships pre-build binary packages of cling for Windows, maintained community contributors and volunteers.
https://github.com/conda-forge/cling-feedstock/

@Cvar1984
Copy link

Cvar1984 commented May 3, 2020

im looking for aarch64 binaries

@ax3l
Copy link
Collaborator

ax3l commented May 5, 2020

On Linux or Windows? Does cling even support aarch64 JIT-ing?

@h5rdly
Copy link

h5rdly commented May 6, 2020

@ax3l It's nice that it's available there, but should conda be a prerequisite? Clang comes with binaries to all imaginable platforms.. Why wouldn't cling make an official release to help adoption?

@ax3l
Copy link
Collaborator

ax3l commented May 6, 2020

Why not, you could propose a PR that runs a nightly and tag-based GitHub Action that builds cling and uploads the build artifact.
Here is an example how to do this:

name: wheels

on:
  push:
    tags:
  release:
    types:
      - created
  schedule:
    # nightly at 1 AM
    - cron: '0 1 * * *'

jobs:
  build_wheels:
    name: Build on ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [macos-10.15, ubuntu-18.04, windows-2019]

    steps:
    - uses: actions/checkout@v2
      name: Build with CMake
      run: |
        cmake-foo here, installing into <somePrefixPath>
        zip artifacts in <somePrefixPath>
    - uses: actions/upload-artifact@v1
      name: Upload Artifact
      with:
        name: build & install
        path: <somePrefixPath>

GitHub actions provide 2 cores and can run up to 72hours. GitHub actions are x86_64 only - so the artifacts build with such a continuous delivery method will be x86_64 for the start as well.

@ferdymercury
Copy link
Contributor

The standalone Cling binaries for Windows and others, and also the CI is broken at the moment: see #447 root-project/web#951

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

No branches or pull requests

6 participants