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

Fixed "make all" failing when IS_LIBRARY:=1 #694

Open
wants to merge 1 commit into
base: develop-pros-3
Choose a base branch
from

Conversation

xcloudyunx
Copy link

Summary:

Created the "bin" directory at the start when compiling a library

Motivation:

Not sure if this is the right place to modify this but currently, on a fresh project, changing to IS_LIBRARY:=1 in the Makefile and running pros make all will fail to compile. The issue is caused by not being able to find the "bin" folder.

Test Plan:

  1. Create a new project
  2. Change IS_LIBRARY:=1 in the Makefile
  3. Run pros make all
  4. Failure expected
  5. Update common.mk with changes
  6. Run pros make all
  7. Success expected

WillXuCodes
WillXuCodes previously approved these changes Dec 26, 2024
Copy link
Member

@WillXuCodes WillXuCodes left a comment

Choose a reason for hiding this comment

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

Works

@Rocky14683
Copy link
Member

It works without the change.

@WillXuCodes
Copy link
Member

It works without the change.

On a fresh project or Kernel? I was able to reproduce this on a fresh project.

@Rocky14683
Copy link
Member

oops sorry, My bad. I didn't know it needs to be a fresh project.

Rocky14683
Rocky14683 previously approved these changes Dec 26, 2024
Copy link
Member

@Rocky14683 Rocky14683 left a comment

Choose a reason for hiding this comment

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

sorry, this works.

@Rocky14683 Rocky14683 changed the base branch from develop-pros-3 to develop-pros-4 December 26, 2024 11:38
@Rocky14683 Rocky14683 dismissed stale reviews from WillXuCodes and themself December 26, 2024 11:38

The base branch was changed.

@Rocky14683 Rocky14683 changed the base branch from develop-pros-4 to develop-pros-3 December 26, 2024 11:39
Copy link
Member

@Rocky14683 Rocky14683 left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

3 participants