mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 20:26:55 +02:00
Added CPU architecture variable info to BUILD_LINUX.md
This commit is contained in:
parent
ac984d5e06
commit
a31350678f
1 changed files with 6 additions and 0 deletions
|
@ -171,3 +171,9 @@ If your goal is to set up a development environment, it is desirable to set the
|
||||||
directory that vcpkg builds into with the `HIFI_VCPKG_BASE` environment variable.
|
directory that vcpkg builds into with the `HIFI_VCPKG_BASE` environment variable.
|
||||||
For example, you might set `HIFI_VCPKG_BASE` to `/home/$USER/vcpkg`.
|
For example, you might set `HIFI_VCPKG_BASE` to `/home/$USER/vcpkg`.
|
||||||
By default, vcpkg will build in the system `/tmp` directory.
|
By default, vcpkg will build in the system `/tmp` directory.
|
||||||
|
|
||||||
|
If build is intended for packaging or creation of AppImage, VIRCADIA_CPU_ARCHITECTURE
|
||||||
|
CMake variable needs to be set to architecture specific value.
|
||||||
|
It defaults to "-march=native -mtune=native", which yields builds optimized for particular
|
||||||
|
machine, but builds will not work on machines lacking same CPU instructions.
|
||||||
|
For packaging and AppImage it is recommended to set it to different value, for example "-msse3".
|
||||||
|
|
Loading…
Reference in a new issue