Skip to content
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ git clone https://github.com/slaclab/slic
Create the build directory within your slic project directory:

```
mkdir build && build
mkdir build && cd build
```

The SLIC build system is able to download and install all dependencies for the project if they are not found on your system. This requires a multi-step build for the dependencies to first be downloaded and installed before SLIC itself is built.
Expand Down Expand Up @@ -176,9 +176,9 @@ make -j8 install
#### Xerces

```
wget https://mirrors.ocf.berkeley.edu/apache//xerces/c/3/sources/xerces-c-3.2.3.tar.gz
tar -zxf xerces-c-3.2.3.tar.gz
cd xerces-c-3.2.3 && mkdir build && cd build
wget https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-3.2.4.tar.gz
tar -zxf xerces-c-3.2.4.tar.gz
cd xerces-c-3.2.4 && mkdir build && cd build
cmake -DBUILD_SHARED_LIBS=ON .. -DCMAKE_INSTALL_PREFIX=../install
make -j8 install
```
Expand Down
2 changes: 1 addition & 1 deletion cmake/XercesC.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if(NOT XercesC_FOUND)
set(XercesC_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/XercesC)
externalproject_add(
XercesC
URL "https://downloads.apache.org/xerces/c/3/sources/xerces-c-${XercesC_VERSION}.tar.gz"
URL "https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-${XercesC_VERSION}.tar.gz"
SOURCE_DIR ${CMAKE_BINARY_DIR}/XercesC
CONFIGURE_COMMAND CC=${CMAKE_CC_COMPILER} && CXX=${CMAKE_CXX_COMPILER} && ./configure --enable-shared --disable-static --prefix=${XercesC_INSTALL_DIR}
DOWNLOAD_NO_PROGRESS ON
Expand Down