Skip to content

Compiling with --build-path #1421

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

Closed
josejsarmento opened this issue Aug 31, 2021 · 2 comments
Closed

Compiling with --build-path #1421

josejsarmento opened this issue Aug 31, 2021 · 2 comments
Labels
conclusion: duplicate Has already been submitted

Comments

@josejsarmento
Copy link

Bug Report

Current behavior

Compiling a sketch with the --build-path flag is not working for me. Whenever I run the following command:

arduino-cli compile --build-path ../ArduinoOutput -b esp8266:esp8266:generic sketch

I get:

Couldn't deeply cache core build: Rel: can't make ../ArduinoOutput relative to /var/folders/gg/v110hgf95ls12d5vvmv2mc0c0000gn/T/arduino-core-cache
Running normal build of the core...

Expected behavior

I expect the program to save the compiled files at the chosen folder and to re-use them when I compile again afterwards. This would be similar to the 'output' option in the Arduino extension in Visual Studio Code.

Environment

  • CLI version (output of arduino-cli version): arduino-cli alpha Version: 0.18.3 Commit: d710b642 Date: 2021-05-21T17:11:27Z
  • OS and platform: Mac OS 11.5.2
@josejsarmento
Copy link
Author

I've found the issue: arduino-cli doesn't handle relative paths
#630 (comment)

@silvanocerza
Copy link
Contributor

Duplicate of #630, closing.

@silvanocerza silvanocerza added the conclusion: duplicate Has already been submitted label Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted
Projects
None yet
Development

No branches or pull requests

2 participants