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

update ci.yml to test Nim 2.2; also test gcc-14 #42

Merged
merged 3 commits into from
Sep 30, 2024
Merged

Conversation

narimiran
Copy link
Contributor

No description provided.

@tersec
Copy link
Contributor

tersec commented Sep 23, 2024

nim-lang/Nim#24159

@tersec
Copy link
Contributor

tersec commented Sep 30, 2024

It's trying to generate x86 assembly for the arm64 target:

[NimScript] exec: nim c  --styleCheck:usages --styleCheck:error --verbosity:0 --hints:off --skipParentCfg --skipUserCfg --outdir:build --nimcache:build/nimcache -f --stacktrace:on --linetrace:on --threads:on   --mm:refc -r benchmarks/dfs/taskpool_dfs.nim
/Users/runner/work/nim-taskpools/nim-taskpools/taskpools/event_notifiers.nim(56, 1) Warning: Overriding `=` hook is deprecated; Override `=copy` hook instead [Deprecated]
/Users/runner/work/nim-taskpools/nim-taskpools/taskpools/taskpools.nim(115, 3) template/generic instantiation of `preCondition` from here
/Users/runner/work/nim-taskpools/nim-taskpools/taskpools/instrumentation/contracts.nim(84, 19) Warning: use `uint`; ByteAddress is deprecated [Deprecated]
In file included from /Users/runner/work/nim-taskpools/nim-taskpools/build/nimcache/@mtaskpool_dfs.nim.c:11:
/Users/runner/work/nim-taskpools/nim-taskpools/benchmarks/wtime.h:36:26: error: invalid output constraint '=a' in asm
        asm volatile ("rdtsc" : "=a" (lo), "=d" (hi));
                                ^
1 error generated.

@tersec tersec merged commit 66585e2 into stable Sep 30, 2024
18 checks passed
@tersec tersec deleted the use-nim-2.2 branch September 30, 2024 09:22
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