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

CI: Test dcurl executables built up with cross compiler on de10-nano board #179

Closed
marktwtn opened this issue Aug 8, 2019 · 2 comments
Closed
Assignees

Comments

@marktwtn
Copy link
Collaborator

marktwtn commented Aug 8, 2019

Although we have #116 to test dcurl on de10-nano board with CI,
the dcurl is compiled with the native compiler.
To avoid using the limited resource of the de10-nano board, the CI pipeline should use the cross compiler to build dcurl on the other stronger machine, move the generated files to de10-nano board and do the test.

@marktwtn
Copy link
Collaborator Author

When it comes to build the remote worker, the thing gets complicated.
Building the remote worker also builds the RabbitMQ.
And RabbitMQ has the depedency on the header files and libraries of OpenSSL .

Therefore, we need more than just a cross compiler.
There are two possible ways to generate the executables:

  • Use cross compiler and find a way to use an ARM version of OpenSSL on x86 machine.
  • Take one de10-nano board and use its native compiler, then copy the generated files from it to other boards.

@marktwtn
Copy link
Collaborator Author

marktwtn commented Aug 30, 2019

As described in the previous comment, using cross compiler needs a lot of effort and using an ARM version of OpenSSL on x86 machine is not intuitive at all.

Hence we change the objective and decide to let CI use one of the de10-nano board to generate the dcurl executables.

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