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

TeNeS 1.2.0 does not compile with macOS homebrew + gcc-11 #49

Open
wistaria opened this issue Mar 22, 2022 · 7 comments
Open

TeNeS 1.2.0 does not compile with macOS homebrew + gcc-11 #49

wistaria opened this issue Mar 22, 2022 · 7 comments

Comments

@wistaria
Copy link
Contributor

/var/folders/19/kbwltrlx40s0qfrgg0yylhvh0000gn/T//ccYbfuHU.s:13709:2: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
        int $3
        ^
@wistaria
Copy link
Contributor Author

Ubuntu 22.04 (gcc-11.2)でも同様にテストがエラーになる

@wistaria
Copy link
Contributor Author

test/doctest.hを最新版 https://github.com/doctest/doctest/blob/master/doctest/doctest.h に置き換えれば大丈夫な模様

@yomichi
Copy link
Contributor

yomichi commented Mar 22, 2022

ありがとうございます、あとで置き換えておきます。

ついでに GHActions が走る環境を増やそうと思いつつ、
https://github.com/actions/virtual-environments
に Ubuntu 22.04 が無くてなんでだろうと思ったらまだ4月になっていなかった……
(macOS は足しておきます)

@yomichi
Copy link
Contributor

yomichi commented Mar 22, 2022

手元で動くからなんでだろうと思ったら Apple Clang でした

@yomichi
Copy link
Contributor

yomichi commented Mar 22, 2022

https://github.com/issp-center-dev/TeNeS/actions/runs/2022274728
なんか通りましたね。謎。
verbose 付けてみます。

@yomichi
Copy link
Contributor

yomichi commented Mar 22, 2022

@wistaria
GitHub Actions では通っていたのでよくわかりませんが、とりあえず doctest.h は更新しておきました。

(Ubuntu 22.04 でもそうだと書いてあるので違うとは思いますが、)もしかして M1-mac の話だったでしょうか……

@wistaria
Copy link
Contributor Author

@yomichi
ありがとうございます。macはM1 macです。Ubuntuの方はx86_64の上でDockerで動かしてます

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

2 participants