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
Linux aarch x64 support? #680
Comments
Hey @donbeave! About 15 minutes ago I merged in goreleaser support to run on next release... heres an example of what it will spit out for you. I will be cutting a release soon. Will this resolve your request? |
It looks like the problem is in the
<executions>
<execution>
<id>osx-x86_64</id>
<goals>
<goal>exec</goal>
</goals>
<phase>compile</phase>
<configuration>
<executable>go</executable>
<arguments>
<argument>build</argument>
<argument>-o</argument>
<argument>${project.build.directory}/protoc-gen-validate-${project.version}-osx-x86_64.exe</argument>
<argument>../..</argument>
</arguments>
<environmentVariables>
<GOOS>darwin</GOOS>
<GOARCH>amd64</GOARCH>
</environmentVariables>
</configuration>
</execution>
<execution>
<id>osx-aarch_64</id>
<goals>
<goal>exec</goal>
</goals>
<phase>compile</phase>
<configuration>
<executable>go</executable>
<arguments>
<argument>build</argument>
<argument>-o</argument>
<argument>${project.build.directory}/protoc-gen-validate-${project.version}-osx-aarch_64.exe</argument>
<argument>../..</argument>
</arguments>
<environmentVariables>
<GOOS>darwin</GOOS>
<GOARCH>arm64</GOARCH>
</environmentVariables>
</configuration>
</execution>
<execution>
<id>linux_x86_32</id>
<goals>
<goal>exec</goal>
</goals>
<phase>compile</phase>
<configuration>
<executable>go</executable>
<arguments>
<argument>build</argument>
<argument>-o</argument>
<argument>${project.build.directory}/protoc-gen-validate-${project.version}-linux-x86_32.exe</argument>
<argument>../..</argument>
</arguments>
<environmentVariables>
<GOOS>linux</GOOS>
<GOARCH>386</GOARCH>
</environmentVariables>
</configuration>
</execution>
<execution>
<id>linux_x86_64</id>
<goals>
<goal>exec</goal>
</goals>
<phase>compile</phase>
<configuration>
<executable>go</executable>
<arguments>
<argument>build</argument>
<argument>-o</argument>
<argument>${project.build.directory}/protoc-gen-validate-${project.version}-linux-x86_64.exe</argument>
<argument>../..</argument>
</arguments>
<environmentVariables>
<GOOS>linux</GOOS>
<GOARCH>amd64</GOARCH>
</environmentVariables>
</configuration>
</execution>
<execution>
<id>windows_x86_32</id>
<goals>
<goal>exec</goal>
</goals>
<phase>compile</phase>
<configuration>
<executable>go</executable>
<arguments>
<argument>build</argument>
<argument>-o</argument>
<argument>${project.build.directory}/protoc-gen-validate-${project.version}-windows-x86_32.exe</argument>
<argument>../..</argument>
</arguments>
<environmentVariables>
<GOOS>windows</GOOS>
<GOARCH>386</GOARCH>
</environmentVariables>
</configuration>
</execution>
<execution>
<id>windows_x86_64</id>
<goals>
<goal>exec</goal>
</goals>
<phase>compile</phase>
<configuration>
<executable>go</executable>
<arguments>
<argument>build</argument>
<argument>-o</argument>
<argument>${project.build.directory}/protoc-gen-validate-${project.version}-windows-x86_64.exe</argument>
<argument>../..</argument>
</arguments>
<environmentVariables>
<GOOS>windows</GOOS>
<GOARCH>amd64</GOARCH>
</environmentVariables>
</configuration>
</execution>
</executions> There is an execution for |
Probably can be fixed by adding such a configuration: <execution>
<id>linux-aarch_64</id>
<goals>
<goal>exec</goal>
</goals>
<phase>compile</phase>
<configuration>
<executable>go</executable>
<arguments>
<argument>build</argument>
<argument>-o</argument>
<argument>${project.build.directory}/protoc-gen-validate-${project.version}-linux-aarch_64.exe</argument>
<argument>../..</argument>
</arguments>
<environmentVariables>
<GOOS>linux</GOOS>
<GOARCH>arm64</GOARCH>
</environmentVariables>
</configuration>
</execution> |
There is an execution for osx-aarch_64, but not execution for linux-aarch_64 in the `pom.xml` file
@elliotmjackson when do you plan to release a new version? |
@elliotmjackson Just checked the latest release version https://repo1.maven.org/maven2/build/buf/protoc-gen-validate/protoc-gen-validate/0.8.0/ It should have a file |
We just started experimenting with building our Java application on Linux ARM and it failed, but it works fine on macOS ARM. The error is:
I have checked that
protoc-gen-validate
is not available for linux-aarch_64, but available for osx-aarch_64.The text was updated successfully, but these errors were encountered: