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

Link against libopenblas.lib on Windows #24

Merged
merged 1 commit into from Dec 12, 2021

Conversation

cmb69
Copy link
Contributor

@cmb69 cmb69 commented Nov 5, 2021

Without a respective lib, linking would inevitably fail. We also add
a check for cblas.h, and if either is not found, disable ext/tensor
with a respective warning.

See also #22.

Without a respective lib, linking would inevitably fail.  We also add
a check for cblas.h, and if either is not found, disable ext/tensor
with a respective warning.

See also <RubixML#22>.
@github-actions
Copy link

github-actions bot commented Nov 5, 2021

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request

@cmb69
Copy link
Contributor Author

cmb69 commented Nov 5, 2021

I have read the CLA Document and I hereby sign the CLA

@cmb69
Copy link
Contributor Author

cmb69 commented Nov 5, 2021

recheck

Copy link
Member

@andrewdalpino andrewdalpino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @cmb69 thanks so much for the help! Unfortunately, this file gets overwritten by the Zephir compiler so we need to add this logic to this build script for example https://github.com/RubixML/Tensor/blob/master/build-ext. Let me know if you would like to make the changes, otherwise I think I can probably do it.

Thank you again! Won't you join our group on Telegram? https://t.me/RubixML

P.S. Is this something we should bring up to the Zephir team?

@cmb69
Copy link
Contributor Author

cmb69 commented Nov 15, 2021

Ah, I see! I wouldn't know, though, how to adapt the build script. If you can do it, please go ahead. :)

@andrewdalpino andrewdalpino merged commit 9e92819 into RubixML:master Dec 12, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2021
@andrewdalpino
Copy link
Member

andrewdalpino commented Dec 12, 2021

Hey @cmb69, I haven't been able to find the documentation to get an understanding of this or anything in the config.w32 file. From what I gather so far, it's Javascript with GNU Automake macros. However, the closest docs I found are here https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.70/autoconf.html#index-AC_005fCHECK_005fLIB but the macro signatures are different.

Can you explain what exactly is going on here? Also, is it necessary to compile on Windows or is it just a convenience? Apologize for my ignorance but again, this file is supposed to be handled by the Zephir compiler and I have been relying on it so far to give us the correct configuration. Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants