text stringlengths 0 834k |
|---|
rem Then search in the build path from Maven: |
for %%d in (""examples/target/spark-examples*hadoop*.jar"") do ( |
set SPARK_EXAMPLES_JAR=examples/target/%%d |
) |
rem Figure out whether to run our class with java or with the scala launcher. |
rem In most cases, we'd prefer to execute our process with java because scala |
rem creates a shell script as the parent of its Java process, which makes it |
rem hard to kill the child with stuff like Process.destroy(). However, for |
rem the Spark shell, the wrapper is necessary to properly reset the terminal |
rem when we exit, so we allow it to set a variable to launch with scala. |
if ""%SPARK_LAUNCH_WITH_SCALA%"" NEQ 1 goto java_runner |
set RUNNER=%SCALA_HOME%\bin\scala |
# Java options will be passed to scala as JAVA_OPTS |
set EXTRA_ARGS= |
goto run_spark |
:java_runner |
set CLASSPATH=%CLASSPATH%;%SCALA_HOME%\lib\scala-library.jar;%SCALA_HOME%\lib\scala-compiler.jar;%SCALA_HOME%\lib\jline.jar |
set RUNNER=java |
if not ""x%JAVA_HOME%""==""x"" set RUNNER=%JAVA_HOME%\bin\java |
rem The JVM doesn't read JAVA_OPTS by default so we need to pass it in |
set EXTRA_ARGS=%JAVA_OPTS% |
:run_spark |
""%RUNNER%"" -cp ""%CLASSPATH%"" %EXTRA_ARGS% %* |
:exit |
",42.8350515464,136,0.776654633 |
219305,d2d4d1a7b99687bf558dbe4d92d4ce7764dbb263,358,bat,Batchfile,recipe/bld.bat,ramonaoptics/enblend-feedstock,0282be982f83acbf06045c85319608fdce349f42,['BSD-3-Clause'],,,,recipe/bld.bat,ramonaoptics/enblend-feedstock,0282be982f83acbf06045c85319608fdce349f42,['BSD-3-Clause'],,,,recipe/bld.bat,ramonaoptics/enblend-feedstock,0282be982f83acbf06045c85319608fdce349f42,['BSD-3-Clause'],,,,"mkdir build |
cd build |
cmake -LAH -G Ninja ^ |
-DCMAKE_BUILD_TYPE=""Release"" ^ |
-DCMAKE_PREFIX_PATH=${LIBRARY_PREFIX} ^ |
-DCMAKE_INSTALL_PREFIX=${LIBRARY_PREFIX} ^ |
.. |
ninja install |
",32.5454545455,76,0.374301676 |
219306,d2d4dcbaf911f2c4dbcdbdd6169da83d7c3539bd,6048,bat,Batchfile,Projects/B-L475E-IOT01A/Applications/2_Images_KMS/2_Images_SECoreBin/EWARM/SECBOOT_ECCDSA_WITH_AES128_CBC_SHA256.bat,pintoXD/stm32wb55LoRaFuota,7b84971f7ac063a04a38fa825a806b33b2213b76,['Apache-2.0' 'BSD-3-Clause'],,,,Projects/B-L475E-IOT01A/Applications/2_Images_KMS/2_Images_SECoreBin/EWARM/SECBOOT_ECCDSA_WITH_AES128_CBC_SHA256.bat,pintoXD/stm32wb55LoRaFuota,7b84971f7ac063a04a38fa825a806b33b2213b76,['Apache-2.0' 'BSD-3-Clause'],,,,Projects/B-L475E-IOT01A/Applications/2_Images_KMS/2_Images_SECoreBin/EWARM/SECBOOT_ECCDSA_WITH_AES128_CBC_SHA256.bat,pintoXD/stm32wb55LoRaFuota,7b84971f7ac063a04a38fa825a806b33b2213b76,['Apache-2.0' 'BSD-3-Clause'],1.0,2021-09-25T16:44:11.000Z,2021-09-25T16:44:11.000Z,"::Post build for SECBOOT_ECCDSA_WITH_AES128_CBC_SHA256 |
:: arg1 is the build directory |
:: arg2 is the elf file path+name |
:: arg3 is the bin file path+name |
:: arg4 is the firmware Id (1/2/3) |
:: arg5 is the version |
:: arg6 when present forces ""bigelf"" generation |
@echo off |
set ""projectdir=%1"" |
set ""execname=%~n3"" |
set ""elf=%2"" |
set ""bin=%3"" |
set ""fwid=%4"" |
set ""version=%5"" |
set ""SBSFUBootLoader=%~d0%~p0\\..\\.."" |
::The default installation path of the Cube Programmer tool is: ""C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin"" |
::If you installed it in another location, please update the %programmertool% variable below accordingly. |
set ""programmertool=""C:\\Program Files (x86)\\STMicroelectronics\\STM32Cube\\STM32CubeProgrammer\\bin\\STM32_Programmer_CLI"""" |
set ""userAppBinary=%projectdir%\\..\\Binary\\"" |
set ""sfu=%userAppBinary%\\%execname%.sfu"" |
set ""sfb=%userAppBinary%\\%execname%.sfb"" |
set ""sign=%userAppBinary%\\%execname%.sign"" |
set ""headerbin=%userAppBinary%\\%execname%sfuh.bin"" |
set ""bigbinary=%userAppBinary%\\SBSFU_%execname%.bin"" |
set ""elfbackup=%userAppBinary%\\SBSFU_%execname%.elf"" |
set ""partialbin=%userAppBinary%\\Partial%execname%.bin"" |
set ""partialsfb=%userAppBinary%\\Partial%execname%.sfb"" |
set ""partialsfu=%userAppBinary%\\Partial%execname%.sfu"" |
set ""partialsign=%userAppBinary%\\Partial%execname%.sign"" |
set ""partialoffset=%userAppBinary%\\Partial%execname%.offset"" |
set ""ref_userapp=%projectdir%\\RefUserApp.bin"" |
set ""iv=%SBSFUBootLoader%\\2_Images_SECoreBin\\Binary\\iv.bin"" |
set ""ecckey=%SBSFUBootLoader%\\2_Images_SECoreBin\\Binary\\ECCKEY%fwid%.txt"" |
set ""sbsfuelf=%SBSFUBootLoader%\\2_Images_SBSFU\\EWARM\\B-L475E-IOT01\\Exe\\project.out"" |
set ""oemkey=%SBSFUBootLoader%\\2_Images_SECoreBin\\Binary\\OEM_KEY_COMPANY%fwid%_key_AES_CBC.bin"" |
set ""mapping=%SBSFUBootLoader%\\Linker_Common\\EWARM\\mapping_fwimg.icf"" |
set ""magic=SFU%fwid%"" |
set ""offset=512"" |
set ""alignment=16"" |
::comment this line to force python |
::python is used if windows executable not found |
pushd %projectdir%\..\..\..\..\..\..\Middlewares\ST\STM32_Secure_Engine\Utilities\KeysAndImages |
set basedir=%cd% |
popd |
goto exe: |
goto py: |
:exe |
::line for window executable |
echo Postbuild with windows executable |
set ""prepareimage=%basedir%\\win\\prepareimage\\prepareimage.exe"" |
set ""python="" |
if exist %prepareimage% ( |
goto postbuild |
) |
:py |
::line for python |
echo Postbuild with python script |
set ""prepareimage=%basedir%\\prepareimage.py"" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.