Skip to content
Merged
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
9 changes: 0 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -568,15 +568,6 @@ endif()

set(rel_cachedir var/trafficserver)

if(EXISTS "${PROJECT_SOURCE_DIR}/include/ink_autoconf.h")
message(STATUS "Autoconf build detected in source tree. Removing autoconf headers.")
endif()

# In-tree autoconf configuration causes duplicate definitions of some symbols
# in generated headers. If the files don't exist, no error is emitted.
file(REMOVE "${PROJECT_SOURCE_DIR}/include/tscore/ink_config.h")
file(REMOVE "${PROJECT_SOURCE_DIR}/include/ink_autoconf.h")

configure_file(configs/storage.config.default.in configs/storage.config.default)
configure_file(configs/records.yaml.default.in configs/records.yaml.default)
configure_file(include/tscore/ink_config.h.cmake.in include/tscore/ink_config.h)
Expand Down
18 changes: 7 additions & 11 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@ online, at
BUILD AND INSTALLATION
----------------------

Configure & Build from Git source tree:
$ autoreconf -if # generate the configure script and Makefile.in files

On Linux, macOS and FreeBSD:
$ ./configure [--prefix=PREFIX]
$ make
$ cmake -B build [-DCMAKE_INSTALL_PREFIX=PREFIX]
$ cmake --build build

To install:
$ sudo make install
$ sudo cmake --install build

* Building on FreeBSD requires GNU make. This is the preferred make
on all platforms.
Expand All @@ -38,18 +35,17 @@ To install:
the layout name you have created.

* The easiest way to find all of the configuration flags
for Traffic Server is to run ./configure --help.
for Traffic Server is to run `ccmake build`


By default the build will use the highest level of compiler
optimization. To alter this, specify your own optimizer flags at
configuration time:
optimization. To alter this, specify the Release build type:

$ ./configure CXXFLAGS=-Os CFLAGS=-Os
$ cmake -B build -DCMAKE_BUILD_TYPE=Release

To compile with an alternate set of compilers, e.g. LLVM/Clang

$ ./configure CC=clang CXX=clang++
$ cmake -B build CC=clang CXX=clang++


To start the Traffic Server process stack (TC, TM, TS):
Expand Down
203 changes: 0 additions & 203 deletions Makefile.am

This file was deleted.

Loading