-
-
Notifications
You must be signed in to change notification settings - Fork 851
VC編譯時期傳入的檢測參數 /arch:AVX2 問題 #351
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
Comments
这块目前用户自己控制下就行了,is_plat win就 只确保添加一个
目前.asm是支持vc project生成的,就是用的custom build,不过默认调用的 ml/ml64 可能没对yasm等第三方as进行处理 后两天有时间我看看,或者你这帮忙看看vc插件那块 应该改动不大 |
vs201x工程生成,我支持其他as汇编器了,yasm测试ok。。你可以试试,在dev分支 |
VC生成的命令是:
編譯後報錯:
|
命令编译的完整参数选项给我看下。-v的 |
直接命令編譯的-v內容我挑上述同一個檔案,其他有點多暫時先略過。
|
dev上我改了下。。你再试试 |
|
那应该-I的路径修复可以了,只是yasm不支持/I 我vcproj里面默认替换成了/I ,这个可以稍微处理下就好 至于-I次数限制 只能用户自己控制了 可以只添加一个includedir xmake里面不太好处理这些 |
dev我改了 你再试试 |
感謝,抓了最新的 dev 測試可用。 關於-I的次數限制,其實是有一些實務上的狀況想讓你了解一下:
現階段還沒支持覆蓋模式 #324 ,實際使用上多少都有些不方便,但還是有解法。 |
嗯 add_files的 includedirs等覆盖设置 暂时还不支持,你先凑活着处理下吧,最近没什么时间,等以后有时间了改进支持下。。 |
此处先close了,如果需要对add_files("", {xxx= ss}) 的方式做覆盖设置支持,可以提个新的issues来跟进维护。 |
Uh oh!
There was an error while loading. Please reload this page.
腳本內同時置入 sse/ sse2/ avx/ avx2 的時候,gcc/clang 都正常,但是 vc 會有警告,然而造成設置警告等同錯誤的時候造成麻煩。
The text was updated successfully, but these errors were encountered: