Skip to content
Permalink
Browse files

makefile: Update defaults

  • Loading branch information...
tmmsartor committed May 27, 2019
1 parent d9ae08d commit e2715dde88f7baddd587420de59b5bb3dd559780
Showing with 23 additions and 5 deletions.
  1. +1 −0 .gitignore
  2. +22 −5 Makefile.rule
@@ -91,6 +91,7 @@ build/
include/
lib/
local/
*.local
*.dat
octave-workspace
.vscode
@@ -30,18 +30,30 @@ BLASFEO_PATH = $(EXT_PATH)/blasfeo
BLASFEO_VERSION = HIGH_PERFORMANCE
# BLASFEO_VERSION = REFERENCE
# BLASFEO_VERSION = BLAS_WRAPPER

## BLASFEO target
BLASFEO_TARGET = X64_INTEL_HASWELL
# BLASFEO_TARGET = X64_INTEL_HASWELL
# BLASFEO_TARGET = X64_INTEL_SANDY_BRIDGE
# BLASFEO_TARGET = X64_INTEL_CORE
# BLASFEO_TARGET = GENERIC
#
# TARGET = X64_AMD_BULLDOZER
# TARGET = X86_AMD_JAGUAR
# TARGET = X86_AMD_BARCELONA
#
# TARGET = ARMV8A_ARM_CORTEX_A57
# TARGET = ARMV8A_ARM_CORTEX_A53
# TARGET = ARMV7A_ARM_CORTEX_A15
# TARGET = ARMV7A_ARM_CORTEX_A7
#
BLASFEO_TARGET = GENERIC

## HPIPM path
HPIPM_PATH = $(EXT_PATH)/hpipm
#HPIPM_PATH = /home/gianluca/hpipm

## HPIPM target
HPIPM_TARGET = AVX
# HPIPM_TARGET = GENERIC
# HPIPM_TARGET = AVX
HPIPM_TARGET = GENERIC

## HPMPC path
HPMPC_PATH = $(EXT_PATH)/hpmpc
@@ -85,10 +97,15 @@ ACADOS_WITH_C_INTERFACE = 1
# measure timings
MEASURE_TIMINGS = 1


# compiler flags
CFLAGS =

# Possible overide with local options
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
current_dir := $(patsubst %/,%,$(dir $(mkfile_path)))
# Do not complain if Makefile.local does not exisist
-include $(current_dir)/Makefile.local

# optimization flags
CFLAGS += -O2 -fPIC

0 comments on commit e2715dd

Please sign in to comment.
You can’t perform that action at this time.