Cut tomatoes in half lengthways and scoop out seeds with a spoon. Place tomato halves in a 9x13 baking pan.
Pour olive oil into the baking pan along with the smashed garlic cloves and salt. Toss to combine everything - make sure the tomatoes are evenly coated in the oil
Place in the oven to roast at 400F for 55 minutes - 1 hour.
Remove from oven and allow tomatoes to cool for 5-10 minutes. Scoop into a blender and blend until smooth.
Allow to cool completely and transfer to a jar to store in the fridge for up to 5 days or to the freezer for up to 3 months. Use the same way you would jarred pasta sauce. I like to simmer with a few fresh basil leaves, taste and add salt as needed before tossing with pasta.
Notes
You can use any kind of tomatoes for this recipe.
To make a roasted cherry tomato sauce, do not cut or remove seeds and roast whole for 40-45 minutes.