Browse Source

dubhe: benchmark: Update source uri

Update coremark and dhrystone bb recipe source uri syntax.

Signed-off-by: yang.lee <yang.lee@starfivetech.com>
yang.lee 1 year ago
parent
commit
28c0b10013

+ 2 - 1
recipes-benchmark/coremark/coremark_1.0.bb

@@ -4,7 +4,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5
 
 INHIBIT_PACKAGE_STRIP = "1"
 
-SRC_URI = "git://github.com/sifive/benchmark-coremark.git;protocol=https \
+BRANCH = "master"
+SRC_URI = "git://github.com/sifive/benchmark-coremark.git;protocol=ssh;branch=${BRANCH} \
            file://0001-Add-Compiler-Flags-and-remove-exe-from-output.patch \
            "
 SRCREV = "4486de1f0afe9d6c1fa8dd63743e5751286f3d2f"

+ 2 - 1
recipes-benchmark/dhrystone/dhrystone_2.1.bb

@@ -4,7 +4,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d1
 
 INHIBIT_PACKAGE_STRIP = "1"
 
-SRC_URI = "git://github.com/sifive/benchmark-dhrystone.git;protocol=https \
+BRANCH = "master"
+SRC_URI = "git://github.com/sifive/benchmark-dhrystone.git;protocol=ssh;branch=${BRANCH} \
            file://0001-dhrystone-Edit-compiler-flags.patch \
            "
 SRCREV = "0ddff533cc9052c524990d5ace4560372053314b"