Skip to content

Commit

Permalink
Fix packaging script
Browse files Browse the repository at this point in the history
  • Loading branch information
boberfly committed Oct 8, 2019
1 parent c83bdc1 commit ef13c50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,9 @@ def releaseId() :
" ../..".format( gafferCyclesRoot=gafferCyclesDirName, gafferRoot=gafferDirName, withOptix=withOptix, **formatVariables ),

"cd build/{platform}_{buildType} && cmake --build . --config {buildType} --target install -- -j {jobs}".format( jobs=multiprocessing.cpu_count(), **formatVariables ),
"if [ -d \"install/{platform}_{buildType}/lib64\" ]; then mv install/{platform}_{buildType}/lib64/* install/{platform}_{buildType}/lib; fi".format( **formatVariables ),
"mv install/{platform}_{buildType}/lib/cmake /tmp/cmake && "
"if [ -d \"install/{platform}_{buildType}/lib64\" ]; then mv install/{platform}_{buildType}/lib64/* install/{platform}_{buildType}/lib; fi && "
"mv /tmp/cmake/* install/{platform}_{buildType}/lib/cmake".format( **formatVariables ),

"cd install/{platform}_{buildType} && "
"tar -c -z -f /tmp/intermediate.tar {manifest} && "
Expand Down

0 comments on commit ef13c50

Please sign in to comment.