mirror of
https://github.com/google/cpu_features.git
synced 2025-04-28 07:23:37 +02:00
Remove non standard tools
This commit is contained in:
parent
6446b42567
commit
9233afb83b
@ -1,10 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
SCRIPT_FOLDER=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
|
readonly SCRIPT_FOLDER=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
|
||||||
PROJECT_FOLDER=`realpath "${SCRIPT_FOLDER}/.."`
|
readonly PROJECT_FOLDER="${SCRIPT_FOLDER}/.."
|
||||||
ARCHIVE_FOLDER=~/archives
|
readonly ARCHIVE_FOLDER=~/archives
|
||||||
QEMU_INSTALL=${ARCHIVE_FOLDER}/qemu
|
readonly QEMU_INSTALL=${ARCHIVE_FOLDER}/qemu
|
||||||
DEFAULT_CMAKE_ARGS=" -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON"
|
readonly DEFAULT_CMAKE_ARGS=" -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON"
|
||||||
|
|
||||||
function extract() {
|
function extract() {
|
||||||
case $1 in
|
case $1 in
|
||||||
@ -76,7 +76,7 @@ function assert_defined(){
|
|||||||
function integrate() {
|
function integrate() {
|
||||||
cd ${PROJECT_FOLDER}
|
cd ${PROJECT_FOLDER}
|
||||||
cmake -H. -B${BUILD_DIR} ${DEFAULT_CMAKE_ARGS} ${CMAKE_ADDITIONAL_ARGS}
|
cmake -H. -B${BUILD_DIR} ${DEFAULT_CMAKE_ARGS} ${CMAKE_ADDITIONAL_ARGS}
|
||||||
cmake --build ${BUILD_DIR} --target all -- -j `nproc`
|
cmake --build ${BUILD_DIR} --target all
|
||||||
|
|
||||||
if [[ -n "${QEMU_ARCH}" ]]; then
|
if [[ -n "${QEMU_ARCH}" ]]; then
|
||||||
if [[ "${QEMU_ARCH}" == "DISABLED" ]]; then
|
if [[ "${QEMU_ARCH}" == "DISABLED" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user