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

TARGET_VENDOR, Unable to override the environment variable #70

Open
m0rt3nlund opened this issue Apr 3, 2024 · 0 comments
Open

TARGET_VENDOR, Unable to override the environment variable #70

m0rt3nlund opened this issue Apr 3, 2024 · 0 comments

Comments

@m0rt3nlund
Copy link

Hi!

Is there a special reason why I cannot override the vendor?

If I try to set it to TARGET_VENDOR="pc" it is reset back to unknown

The reason why I ask is that i am using Burrito to cross compile my application.
My host is Linux and the target is Windows.

I am compiling using this environment variables:

ENV TARGET_ARCH="x86_64"
ENV TARGET_VENDOR="pc"
ENV TARGET_OS="windows"
ENV TARGET_ABI="msvc"

The result I get is this:

 == Compilation error in file lib/thumbp.ex ==
21.93 ** (RuntimeError) precompiled NIF is not available for this target: "x86_64-unknown-windows-msvc".
21.93 The available targets are:
21.93  - aarch64-apple-darwin
21.93  - aarch64-unknown-linux-gnu
21.93  - aarch64-unknown-linux-musl
21.93  - arm-unknown-linux-gnueabihf
21.93  - riscv64gc-unknown-linux-gnu
21.93  - x86_64-apple-darwin
21.93  - x86_64-pc-windows-gnu
21.93  - x86_64-pc-windows-msvc
21.93  - x86_64-unknown-linux-gnu
21.93  - x86_64-unknown-linux-musl
21.93     lib/thumbp.ex:8: (module)

This tells me that the vendor is not something I can override?
Looking into the source code it looks like this is done for a reason, which i cannot fully understand :)

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

1 participant