Skip to content

Added new method#8

Closed
amit-62 wants to merge 1 commit intoControlCore-Project:devfrom
amit-62:dev
Closed

Added new method#8
amit-62 wants to merge 1 commit intoControlCore-Project:devfrom
amit-62:dev

Conversation

@amit-62
Copy link
Contributor

@amit-62 amit-62 commented Jul 14, 2022

No description provided.

VWIN = "iverilog" #Windows verilog 6/25/21
VEXE = "iverilog" #Ubuntu/macOS verilog 6/25/21
CPPEXE = "g++" #Ubuntu/macOS C++ 6/22/21
CPPWIN = "g++" #Windows C++ 6/22/21
Copy link
Member

Choose a reason for hiding this comment

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

This file is modified by just line breaks changes, it seems?

Can you please make sure to commit only the actual changes, and not line breaks? Adding these changes makes it hard to track the development and makes the review difficult.

Please check with "git diff" before the pull request, and make sure such changes are not committed.

Copy link
Member

@pradeeban pradeeban left a comment

Choose a reason for hiding this comment

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

Pls submit a new pull request without the changes caused by just line breaks.

mkconcore.py has many new changes tracked below - all seem to be just line breaks.

@pradeeban
Copy link
Member

New pull request suggested.

@pradeeban pradeeban closed this Jul 14, 2022
@amit-62 amit-62 deleted the dev branch July 14, 2022 18:16
@amit-62 amit-62 restored the dev branch July 14, 2022 18:17
resp.status_code = 500
return resp

@app.route('/build/<dir>', methods=['POST'])
Copy link
Member

Choose a reason for hiding this comment

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

dir should be the whole input as in "demo/sample" rather than hard-coding "demo" below.


@app.route('/build/<dir>', methods=['POST'])
def build(dir):
makestudy_dir = "demo" + "/" + dir
Copy link
Member

Choose a reason for hiding this comment

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

makestduy_dir = dir
(therefore, avoid makestudy_dir)

makestudy_dir = "demo" + "/" + dir
cur_path = os.getcwd()
concore_path = os.path.abspath(os.path.join(cur_path, '../../'))
dir_path = os.path.abspath(os.path.join(concore_path, dir))
Copy link
Member

Choose a reason for hiding this comment

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

"dir" here must be replaced by a splitted version to get the "sample" below:
split by "/"
as in dir = demo/sample <--- we want the "sample" here.

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.

2 participants