Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: Also search in /usr/rose for rose #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ CHiLL is a source-to-source translator for composing high level loop transformat

### Install Prerequisites

1. Install [a boost version for Rose](install-boost).
2. Install [Rose](install-rose).
1. Install [a boost version for Rose](https://github.com/CtopCsUtahEdu/chill/wiki/Install-Boost).
2. Install [Rose](https://github.com/CtopCsUtahEdu/chill/wiki/Install-Rose).
3. Install isl from repository. [optional but recomended]
4. Install [IEGenLib](install-iegenlib)
4. Install [IEGenLib](https://github.com/CtopCsUtahEdu/chill/wiki/Install-IEGenLib)

### Build CHiLL

Expand Down
4 changes: 2 additions & 2 deletions cmake/FindRose.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ endif()

find_path(Rose_INCLUDE_DIR rose/rose.h
HINTS ${ROSEHOME} ${CHILLENV}
PATHS /usr
PATHS /usr /usr/rose
PATH_SUFFIXES include) # This ONLY includes the include dir

MACRO(FIND_AND_ADD_Rose_LIB _libname_)
find_library(Rose_${_libname_}_LIB ${_libname_}
HINTS ${ROSEHOME} ${CHILLENV}
PATHS /usr
PATHS /usr /usr/rose
PATH_SUFFIXES lib)
if (Rose_${_libname_}_LIB)
set(Rose_LIBS ${Rose_LIBS} ${Rose_${_libname_}_LIB})
Expand Down