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

contrib bunch of tiny compilers #486

Merged

Conversation

fgeorgatos
Copy link
Contributor

{P,SD,T}CC !!!

after sitting idle for months in easybuild.experimental, it was time to refresh versions and contribute.

enjoy,

Signed-off-by: Fotis Georgatos fotis.georgatos@uni.lu

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>
Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>
@hpcugentbot
Copy link
Contributor

Automatic reply from Jenkins: Can I test this?

@fgeorgatos
Copy link
Contributor Author

ok to test # can you also remove this comment and write the tcc.py toolchain in the framework for me? ;-)

@boegel
Copy link
Member

boegel commented Nov 11, 2013

@fgeorgatos: I won't dive into the TinyCC support in the framework for now, but it should be fairly trivial imho.
Why not have a go at it yourself? Start from the gcc.py...

@boegel
Copy link
Member

boegel commented Nov 11, 2013

Jenkins: ok to test

@boegel
Copy link
Member

boegel commented Nov 11, 2013

missing dependencies for PCC (Bison, probably also flex):

make[2]: yacc: Command not found

similar for SDCC (note, the system provided flex is found, which is not good enough):

checking for flex... flex
checking for bison... no
checking for byacc... no
checking for yacc... no

@fgeorgatos: Please add the missing deps, and retest, and look into the remarks in this PR.

toolchain = {'name': 'dummy', 'version': 'dummy'}

# eg. http://sourceforge.net/projects/sdcc/files/sdcc/3.3.0/sdcc-src-3.3.0.tar.bz2/download
sources = ['sdcc-src-%s.tar.bz2' % version]
Copy link
Member

Choose a reason for hiding this comment

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

use %(version)

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>
Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>
@fgeorgatos
Copy link
Contributor Author

about this one: tcc.py and such do not exist as of yet, but it's not this PR's problem
(I agree, it should eventually exist, to allow the compilers to become toolchain-able for other software stacks)

sources = ['pcc-%(version)s.tgz']
source_urls = ['http://pcc.ludd.ltu.se/ftp/pub/pcc/']

osdependencies = [
Copy link
Member

Choose a reason for hiding this comment

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

hah, nice try...

This is never going to work.

What you want is to add flex/Bison as build dependencies, and provide easyconfigs for them with a dummy toolchain.

Copy link
Member

Choose a reason for hiding this comment

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

I'll take care of this...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hah, only now I see the above comment (facepalm). Yes, correct and thanks for jumping on this.

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