Commit graph

26 commits

Author SHA1 Message Date
Dale Glass
526f526aa6 Don't retrieve repository's SHA in prebuild
Doing this means source can only be built when checked out from git,
and can't be build from an archive.
2021-10-24 22:32:12 +02:00
Dale Glass
2a07f5fd5a Nice colored unsupported distro messages 2021-06-20 14:22:28 +02:00
Dale Glass
f90d872752 Formatting cleanup 2021-06-20 14:22:28 +02:00
Dale Glass
2a8278f522 Temp changes 2021-06-20 14:22:28 +02:00
Dale Glass
ca489bd420 Simplify system Qt path 2021-06-20 14:22:28 +02:00
Kalila L
16eca5d855 Get most 'project-athena' -> 'vircadia' references. 2020-12-13 04:42:34 -05:00
HifiExperiments
75b99e71ec playing with gha 2020-08-17 13:37:11 -07:00
Thijs Wenker
ba62b06f25 move comment to the code it belongs to 2020-04-19 22:50:53 +02:00
Thijs Wenker
b89ddf33ec fix missing url 2020-04-19 22:50:51 +02:00
Thijs Wenker
0c8359816c - make vcpkg output smaller by removing downloads and packages folders
- only build the full version of the clients for now (server+client)
- disable using a predefined vcpkg for CI builds for now.
-
2020-04-19 22:50:50 +02:00
Thijs Wenker
48ee437c00 cmake -D VCPKG_BUILD_TYPE could be set to either release debug or release in order to build vcpkg in a specific build type, otherwise it will build with debug and release 2020-04-19 22:50:49 +02:00
David Rowe
1a4bb41f22 Fix up quazip configuration 2020-04-10 09:34:00 +12:00
David Rowe
a8b4f22fc6 Update new build URLs 2020-04-09 16:54:14 +12:00
Brad Davis
d4b3a9ba49 Github actions 2019-11-18 15:20:37 -08:00
Brad Davis
11b505f59f Fix spurious error from prebuilt script 2019-06-06 16:40:39 -07:00
Andrew Meadows
528a64c618 hack QT_CMAKE_PREFIX_PATH for Jenkins macos builds 2019-05-18 06:45:25 -07:00
Matt Hardcastle
64bf8ec393 Enable --ci-build setting via an environment variable
Prior to this comment the only way to enable the ci mode for the `prebuild.py` script was to pass it the `--ci-build` argument. The ci system doesn't call call prebuild directly, cmake does, so adding this argument via the CI system is impossible. This change adds the `CI_BUILD` environment variable so enabling the ci mode is possible through the CI system.

Prints timing with CI_BUILD environment variable set

    % CI_BUILD=foo cmake -G "Unix Makefiles" ../hifi
    ['/Users/mhard/src/hifi/prebuild.py', '--build-root', '/Users/mhard/src/hifi_build_make']
    1556815031 bcab3689-9ec6-49d4-bbdf-05de5840001f sha=3bb61335be
    1556815031 bcab3689-9ec6-49d4-bbdf-05de5840001f start
    Warning: Environment variable HIFI_VCPKG_BASE not set, using /Users/mhard/hifi/vcpkg
    Using vcpkg path /Users/mhard/hifi/vcpkg/c1966b8c
    [... snip ...]

Doesn't print timing when CI_BUILD environment variable is unset:

    % cmake -G "Unix Makefiles" ../hifi
    ['/Users/mhard/src/hifi/prebuild.py', '--build-root', '/Users/mhard/src/hifi_build_make']
    Warning: Environment variable HIFI_VCPKG_BASE not set, using /Users/mhard/hifi/vcpkg
    Using vcpkg path /Users/mhard/hifi/vcpkg/c1966b8c
    [... snip ...]
2019-05-02 09:46:17 -07:00
Brad Davis
f896623404 Fix prebuild crash if can't find git binary (such as when running under Android Studio) 2019-02-15 14:30:54 -08:00
Matt Hardcastle
79bf26ee27 Add prebuild metrics logging for CI system
Metric about the times various parts of the build take are great to
have. This change takes us a step in that direction by adding metrics to
the prebuild step of the build process. These metrics are off by
default; use the `--ci-build` option of `prebuild.py` to enable them.
2019-02-07 16:37:54 -08:00
Brad Davis
61ea0de742 Update build files based on move 2019-01-15 15:16:14 -08:00
Brad Davis
8504619067 Dockerized build, updated build script, ndk18 2018-12-10 11:33:41 -08:00
Brad Davis
43b9aa29bc Make vcpkg build default to home directory on mac 2018-11-26 12:37:11 -08:00
Brad Davis
5f6369daf6 Don't wipe explicit vcpkg directories 2018-11-08 15:44:28 -08:00
Brad Davis
3d2e723438 Adding new package guidance 2018-11-08 14:55:29 -08:00
Brad Davis
2691c39d66 PR feedback 2018-11-08 12:47:53 -08:00
Brad Davis
8c4f0ec774 Vcpkg migration 2018-11-08 12:28:06 -08:00