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

Improve FreeBSD Support #184

Open
bashbaug opened this issue Oct 4, 2022 · 3 comments
Open

Improve FreeBSD Support #184

bashbaug opened this issue Oct 4, 2022 · 3 comments

Comments

@bashbaug
Copy link
Contributor

bashbaug commented Oct 4, 2022

see: KhronosGroup/OpenCL-SDK#55

A minimum we should modify the OpenCL ICD loader so it checks for FreeBSD or Unix generically vs. just Linux, to fix build issues.

Separately we can investigate renaming some of the source files so they apply more generically to Unix vs. Linux.

@juliohm
Copy link

juliohm commented Oct 4, 2022

Regarding the FreeBSD environment to test, the build script I provided in https://github.com/juliohm/cross-platform-opencl should be enough.

You can type

$ julia --project build_tarballs.jl x86_64-unknown-freebsd

to emulate a FreeBSD.

@bashbaug
Copy link
Contributor Author

bashbaug commented Oct 4, 2022

Thanks! I'll test your build script next. I also setup a FreeBSD VM so I can at least build and run unit tests.

@juliohm
Copy link

juliohm commented Oct 4, 2022

I confirm that #185 fixed the build on FreeBSD 👍🏽 Now we are totaling 14 platforms, only missing Windows.

I've updated the build script as well in case you want to give it a try or add it somewhere in CI to release the binaries for these platforms to end users.

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

2 participants