diff options
| author | jgmdev <jgmdev@gmail.com> | 2025-12-05 15:03:18 -0400 |
|---|---|---|
| committer | jgmdev <jgmdev@gmail.com> | 2025-12-05 15:03:18 -0400 |
| commit | d96d2a76d9cdc6bf58ef93f2ed00e597eea850fe (patch) | |
| tree | 69ba118fe1ead6c83ff70c8d3e0d19a6593c18ed /scripts | |
| parent | 60cfd71391b11c773cb679b2c9493fc63878b184 (diff) | |
| download | pragtical-d96d2a76d9cdc6bf58ef93f2ed00e597eea850fe.tar.gz pragtical-d96d2a76d9cdc6bf58ef93f2ed00e597eea850fe.zip | |
CI: exports not getting pick up on linux aarch64
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/build.sh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 17cb8c77..2fe20132 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -206,9 +206,14 @@ main() { if [[ $pgo != "" ]]; then echo "Generating Profiler Guided Optimizations data..." - export LLVM_PROFILE_FILE=default.profraw - export SDL_VIDEO_DRIVER="dummy" - ./scripts/run-local "${build_dir}" run -n scripts/lua/pgo.lua + if [[ $platform == "windows" ]]; then + export LLVM_PROFILE_FILE=default.profraw + export SDL_VIDEO_DRIVER="dummy" + ./scripts/run-local "${build_dir}" run -n scripts/lua/pgo.lua + else + LLVM_PROFILE_FILE=default.profraw SDL_VIDEO_DRIVER="dummy" \ + ./scripts/run-local "${build_dir}" run -n scripts/lua/pgo.lua + fi # in case of clang handle the profile data appropriately if [ -e "default.profraw" ]; then if [[ $platform == "macos" ]]; then |
