未验证 提交 64d3a1d9 编写于 作者: S Shenghang Tsai 提交者: GitHub

Add instructions on making sys env permanent (#4949)

Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
上级 49060956
......@@ -78,6 +78,10 @@
- Failed to compile because C++ 17 is enabled
- In some cases, environment variable `CXXFLAGS` is not empty and contains `--std c++17`.
- Check if it is empty by running `echo $CXXFLAGS` and clear it with `unset CXXFLAGS`.
- If you are using conda, to make the changes on environment variables permanent, you can run:
```bash
conda env config vars set CXXFLAGS="-fPIC"
```
- cmake outputs error `No CMAKE_ASM_NASM_COMPILER could be found.`
- Install `nasm`. For instance, run `sudo yum install nasm` if you are on centos.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册