-
-
Notifications
You must be signed in to change notification settings - Fork 774
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
添加nvidia-hpc-sdk工具链支持 #2327
Labels
Milestone
Comments
|
dev 支持了,更新到 目前支持 nvc/nvc++/nvfortran $ xmake f --toolchain=cuda -c
$ xmake -rv
[ 25%]: ccache compiling.release src/main.f90
/usr/bin/ccache /opt/nvidia/hpc_sdk/Linux_x86_64/22.3/compilers/bin/nvfortran -c -m64 -O3 -o build/.objs/test/linux/x86_64/release/src/main.f90.o src/main.f90
[ 50%]: linking.release test
/opt/nvidia/hpc_sdk/Linux_x86_64/22.3/compilers/bin/nvfortran -o build/linux/x86_64/release/test build/.objs/test/linux/x86_64/release/src/main.f90.o -m64 -s
[100%]: build ok!$ xmake f --toolchain=cuda -c
$ xmake -rv
[ 25%]: ccache compiling.release src/main.cpp
/usr/bin/ccache /opt/nvidia/hpc_sdk/Linux_x86_64/22.3/compilers/bin/nvc++ -c -m64 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -o build/.objs/test/linux/x86_64/release/src/main.cpp.o src/main.cpp
[ 50%]: linking.release test
/opt/nvidia/hpc_sdk/Linux_x86_64/22.3/compilers/bin/nvc++ -o build/linux/x86_64/release/test build/.objs/test/linux/x86_64/release/src/main.cpp.o -m64 -s
[100%]: build ok! |
|
我这里可以,确认更新到最新 dev |
|
source ~/.xmake/profile 或者重新开下终端 |
|
可以了 谢谢! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Is your feature request related to a problem? Please describe.
添加nvidia-hpc-sdk工具链支持(https://developer.nvidia.cn/nvidia-hpc-sdk-downloads)
Describe the solution you'd like
可以自动识别nvidia-hpc-sdk工具链
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: