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

Build fails with cgo flags. #1

Open
ghost opened this issue Jun 12, 2018 · 2 comments
Open

Build fails with cgo flags. #1

ghost opened this issue Jun 12, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 12, 2018

I'm trying to build the miner you made on Ubuntu, however whenever I try to build the program I get the following error:

go build github.com/gurupras/go-cryptonight-miner/cpu-miner/xmrflag in #cgo CFLAGS: -funroll-loops

I'm using Golang version 1.10.2 on Ubuntu 17.04 as of now.

@gurupras
Copy link
Owner

gurupras commented Jun 12, 2018

I'll look into this, but just so you know, I haven't updated this to work with Cryptoknight v7. A bit busy with some other projects at the moment, although, it shouldn't be too hard. The core .cl files are all copy-pasted from xmrig

@ghost
Copy link
Author

ghost commented Jun 12, 2018

Ah okay. No rush, and thanks for the quick response! I was just wondering if this was something that I was doing wrong.

I'll try looking into it in the meantime as well, and post anything here if I find a solution.

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

1 participant