Skip to content

Instantly share code, notes, and snippets.

@stephenlacy
Created February 6, 2025 22:35
Show Gist options
  • Save stephenlacy/23915dc09c546d4daf0876ec6a522e6b to your computer and use it in GitHub Desktop.
Save stephenlacy/23915dc09c546d4daf0876ec6a522e6b to your computer and use it in GitHub Desktop.
Running p4-fusion on macos arm64
git clone https://github.com/salesforce/p4-fusion
cd p4-fusion

brew install openssl cmake
wget https://cdist2.perforce.com/perforce/r24.1/bin.macosx12arm64/p4api-openssl3.tgz

mkdir -p vendor/helix-core-api/mac/

tar -xvzf p4api-openssl3.tgz --strip-components=1 -C vendor/helix-core-api/mac/

./generate_cache.sh Debug
./build.sh

./build/p4-fusion/p4-fusion --path '//TestDepot/Main/...' --user $P4USER --port $P4PORT --client $P4CLIENT --src clones/.git --lookAhead 200 --includeBinaries true --streamMappings true

cd clones

git config --bool core.bare false
git reset --hard main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment